Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001763/0.001763, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.538/1.538, allocations: 230.5 MB / 251.1 MB, free: 8.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 68.03 kB / 369 MB, free: 6.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 53.33 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005433/0.3047, allocations: 3.392 MB / 425.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.3065, allocations: 0.8649 MB / 426.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.3067, allocations: 8 kB / 426.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.307, allocations: 71.3 kB / 426.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.3072, allocations: 123 kB / 426.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.3076, allocations: 155.8 kB / 426.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005798/0.3082, allocations: 0.4941 MB / 427.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002739/0.3085, allocations: 121 kB / 427.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.3088, allocations: 195.3 kB / 427.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.3091, allocations: 203.1 kB / 427.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.3091, allocations: 48 kB / 428 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3092, allocations: 52 kB / 428 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.3093, allocations: 99.62 kB / 428.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.3095, allocations: 219 kB / 428.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.3102, allocations: 0.5717 MB / 428.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3102, allocations: 0 / 428.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3102, allocations: 0 / 428.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3103, allocations: 0 / 428.9 MB, free: 1.219 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001303/0.3116, allocations: 0.7131 MB / 429.6 MB, free: 468 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3116, allocations: 8.031 kB / 429.6 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.3118, allocations: 52.69 kB / 429.7 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.3123, allocations: 324.8 kB / 430 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3124, allocations: 29.38 kB / 430 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.3124, allocations: 44.19 kB / 430.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.3132, allocations: 386.2 kB / 430.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3132, allocations: 0 / 430.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.3133, allocations: 16 kB / 430.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3133, allocations: 8 kB / 430.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.3139, allocations: 307.8 kB / 430.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.3163, allocations: 1.444 MB / 432.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.317, allocations: 222.7 kB / 432.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.3172, allocations: 84.81 kB / 432.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3172, allocations: 4 kB / 432.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.3173, allocations: 38.56 kB / 432.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3173, allocations: 0 / 432.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002249/0.3195, allocations: 0.7581 MB / 433.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.3196, allocations: 55.41 kB / 433.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.32, allocations: 316.5 kB / 433.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.32, allocations: 29.7 kB / 433.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3202, allocations: 236.2 kB / 433.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.3202, allocations: 63.48 kB / 434 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/0.3203, allocations: 45.7 kB / 434 MB, free: 11.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.3205, allocations: 338.8 kB / 434.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.3208, allocations: 79.95 kB / 434.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.321, allocations: 161.4 kB / 434.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.3215, allocations: 253.2 kB / 434.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3215, allocations: 4 kB / 434.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00105/0.3226, allocations: 429.5 kB / 435.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3226, allocations: 8 kB / 435.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3226, allocations: 4 kB / 435.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.3231, allocations: 113.6 kB / 435.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3233, allocations: 39.98 kB / 435.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/0.3277, allocations: 3.565 MB / 439 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.328, allocations: 43.89 kB / 439 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.328, allocations: 8 kB / 439 MB, free: 6.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.3282, allocations: 154 kB / 439.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.3282, allocations: 39.73 kB / 439.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.3283, allocations: 34.25 kB / 439.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3283, allocations: 4 kB / 439.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3283, allocations: 0 / 439.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3283, allocations: 3.938 kB / 439.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.3287, allocations: 365.4 kB / 439.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3287, allocations: 0 / 439.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.3288, allocations: 15.98 kB / 439.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.3292, allocations: 117.6 kB / 439.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3292, allocations: 0 / 439.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/0.333, allocations: 3.475 MB / 443.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.333, allocations: 4.062 kB / 443.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009549/0.334, allocations: 432.7 kB / 443.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3341, allocations: 108.9 kB / 443.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.3341, allocations: 4 kB / 443.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3343, allocations: 23.98 kB / 443.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.3344, allocations: 23.91 kB / 443.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.3344, allocations: 4 kB / 443.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002657/0.3347, allocations: 219.1 kB / 444 MB, free: 1.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3347, allocations: 0 / 444 MB, free: 1.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005577/0.3352, allocations: 95.84 kB / 444.1 MB, free: 0.9219 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.3354, allocations: 111.2 kB / 444.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.3365, allocations: 0.5011 MB / 444.7 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3365, allocations: 0.5 kB / 444.7 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.337, allocations: 341.2 kB / 445.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3375, allocations: 56.28 kB / 445.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3387, allocations: 0.5732 MB / 445.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.3392, allocations: 0.7795 MB / 446.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.3393, allocations: 30.95 kB / 446.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.3393, allocations: 19.44 kB / 446.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3393, allocations: 3.938 kB / 446.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Templates: time 0.009332/0.3486, allocations: 4.108 MB / 450.6 MB, free: 10.33 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches