Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001856/0.001856, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.871e-06, allocations: 4 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.196e-05/4.783e-05, allocations: 2.312 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.006938/0.006985, allocations: 2.772 MB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.008939, allocations: 0.6582 MB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.009189, allocations: 4 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.009452, allocations: 51.56 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.009845, allocations: 95.12 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.01026, allocations: 91.75 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008403/0.0111, allocations: 390.3 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.01141, allocations: 87.3 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.01197, allocations: 227.5 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.01232, allocations: 119.7 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.01243, allocations: 36 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.01254, allocations: 36 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.01267, allocations: 75.69 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.01294, allocations: 119.7 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.01371, allocations: 394.7 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01371, allocations: 0 / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01371, allocations: 0 / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.01373, allocations: 0 / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001977/0.01571, allocations: 0.6854 MB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.01575, allocations: 8.031 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.01594, allocations: 52.75 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.01652, allocations: 225 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.01656, allocations: 16.88 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.01663, allocations: 32.38 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.01766, allocations: 352.3 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.01767, allocations: 192 / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.01772, allocations: 16.36 kB / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.01774, allocations: 7.938 kB / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.01874, allocations: 209.9 kB / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.02149, allocations: 1.079 MB / 280 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009478/0.02244, allocations: 187.1 kB / 280.2 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.02278, allocations: 71.66 kB / 280.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.02282, allocations: 0 / 280.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005919/0.02341, allocations: 223.4 kB / 280.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.02341, allocations: 3.938 kB / 280.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.002498/0.02591, allocations: 365.2 kB / 280.8 MB, free: 8.883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.02603, allocations: 106.8 kB / 280.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.02664, allocations: 352.2 kB / 281.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.02669, allocations: 33.7 kB / 281.3 MB, free: 8.352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.02699, allocations: 254.7 kB / 281.6 MB, free: 8.098 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.02706, allocations: 47.62 kB / 281.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.02724, allocations: 67.55 kB / 281.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004023/0.02764, allocations: 0.5118 MB / 282.2 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.02808, allocations: 109.9 kB / 282.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.02877, allocations: 324.4 kB / 282.6 MB, free: 6.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009424/0.02971, allocations: 309 kB / 282.9 MB, free: 6.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.02972, allocations: 4 kB / 282.9 MB, free: 6.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00162/0.03134, allocations: 423.1 kB / 283.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.0314, allocations: 37.69 kB / 283.4 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.03142, allocations: 4 kB / 283.4 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000715/0.03213, allocations: 92.03 kB / 283.5 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.03244, allocations: 43.91 kB / 283.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.03606, allocations: 2.06 MB / 285.6 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.03654, allocations: 47.8 kB / 285.6 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.03658, allocations: 12 kB / 285.6 MB, free: 3.711 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.03685, allocations: 188.5 kB / 285.8 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.03693, allocations: 31.78 kB / 285.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.03701, allocations: 25.78 kB / 285.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.03702, allocations: 0 / 285.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.03702, allocations: 3.984 kB / 285.9 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.03703, allocations: 4 kB / 285.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.03748, allocations: 248.4 kB / 286.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.03748, allocations: 4 kB / 286.1 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.03761, allocations: 15.98 kB / 286.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005839/0.03819, allocations: 83.62 kB / 286.2 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.03821, allocations: 3.938 kB / 286.2 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/0.04184, allocations: 2.034 MB / 288.3 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.04185, allocations: 3.984 kB / 288.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.04295, allocations: 275.7 kB / 288.5 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.0431, allocations: 39.77 kB / 288.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.04316, allocations: 11.94 kB / 288.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.04343, allocations: 20.02 kB / 288.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.04355, allocations: 27.95 kB / 288.6 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.04357, allocations: 4 kB / 288.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003467/0.04391, allocations: 237.1 kB / 288.9 MB, free: 276 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04391, allocations: 0 / 288.9 MB, free: 276 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006087/0.04452, allocations: 83.84 kB / 288.9 MB, free: 192 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/0.0447, allocations: 103.2 kB / 289 MB, free: 80 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.046, allocations: 481.4 kB / 289.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.046, allocations: 0 / 289.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.04663, allocations: 278.1 kB / 289.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.04708, allocations: 52.39 kB / 289.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.04851, allocations: 443.5 kB / 290.3 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.04874, allocations: 150.7 kB / 290.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.04889, allocations: 22.3 kB / 290.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.04899, allocations: 24.48 kB / 290.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04899, allocations: 0 / 290.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of Templates: time 0.01363/0.06262, allocations: 4.116 MB / 294.6 MB, free: 10.49 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.609041803050786]