Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007884/0.0007884, allocations: 91.61 kB / 22.18 MB, free: 2.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007714/0.0007714, allocations: 156.9 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.873/0.873, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.362e-05, allocations: 2.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002758/0.002782, allocations: 2.563 MB / 302.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.003826, allocations: 0.6631 MB / 302.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.003957, allocations: 7.938 kB / 302.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.004085, allocations: 43.56 kB / 303 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.004242, allocations: 95.14 kB / 303.1 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.004493, allocations: 91.81 kB / 303.2 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.004815, allocations: 394.3 kB / 303.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.004981, allocations: 91.23 kB / 303.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.005195, allocations: 215.5 kB / 303.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.005325, allocations: 119.7 kB / 304 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.005365, allocations: 36 kB / 304 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.852e-05/0.005394, allocations: 32 kB / 304 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.005443, allocations: 79.67 kB / 304.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.005533, allocations: 115.7 kB / 304.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.005845, allocations: 386.8 kB / 304.6 MB, free: 1.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.005849, allocations: 0 / 304.6 MB, free: 1.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.00585, allocations: 7.938 kB / 304.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.005856, allocations: 0 / 304.6 MB, free: 1.973 MB / 282.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.0008959/0.006752, allocations: 0.5858 MB / 305.2 MB, free: 1.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.006791, allocations: 12.03 kB / 305.2 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.006856, allocations: 36.7 kB / 305.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.007172, allocations: 214.2 kB / 305.5 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.007192, allocations: 20.88 kB / 305.5 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.007219, allocations: 24.38 kB / 305.5 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.007659, allocations: 350.7 kB / 305.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.00767, allocations: 4.125 kB / 305.8 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.007692, allocations: 12.38 kB / 305.9 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.007699, allocations: 11.94 kB / 305.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.008114, allocations: 245.8 kB / 306.1 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.00916, allocations: 0.9359 MB / 307 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.009576, allocations: 206.5 kB / 307.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.009729, allocations: 92.83 kB / 307.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.00975, allocations: 0 / 307.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.01004, allocations: 217.3 kB / 307.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.01004, allocations: 0 / 307.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001106/0.01115, allocations: 441.8 kB / 308 MB, free: 14.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.01121, allocations: 110.8 kB / 308.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.01142, allocations: 261.8 kB / 308.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.01144, allocations: 33.7 kB / 308.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.01155, allocations: 199.9 kB / 308.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.01158, allocations: 43.67 kB / 308.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.01165, allocations: 53.89 kB / 308.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.01175, allocations: 330.8 kB / 309 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.01194, allocations: 137.8 kB / 309.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.0122, allocations: 278.9 kB / 309.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.0126, allocations: 301.4 kB / 309.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01261, allocations: 0 / 309.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006769/0.01328, allocations: 453.5 kB / 310.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.01332, allocations: 45.72 kB / 310.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01333, allocations: 4 kB / 310.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.01358, allocations: 68.75 kB / 310.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.0137, allocations: 47.95 kB / 310.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.01519, allocations: 1.577 MB / 311.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.01537, allocations: 48.11 kB / 311.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.01539, allocations: 23.98 kB / 311.9 MB, free: 10.11 MB / 298.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.0001191/0.01551, allocations: 149.7 kB / 312.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.01553, allocations: 23.8 kB / 312.1 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.01556, allocations: 25.77 kB / 312.1 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.01557, allocations: 0 / 312.1 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01557, allocations: 0 / 312.1 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01557, allocations: 4 kB / 312.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.01573, allocations: 201.2 kB / 312.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01573, allocations: 0 / 312.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.01579, allocations: 19.97 kB / 312.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001597/0.01595, allocations: 68.81 kB / 312.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01596, allocations: 7.938 kB / 312.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.01715, allocations: 1.562 MB / 314 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.01716, allocations: 7.984 kB / 314 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.01766, allocations: 305.6 kB / 314.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.01772, allocations: 39.83 kB / 314.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.01774, allocations: 7.938 kB / 314.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01785, allocations: 27.97 kB / 314.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.01793, allocations: 23.95 kB / 314.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01794, allocations: 0 / 314.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.01806, allocations: 185.2 kB / 314.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01806, allocations: 0 / 314.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.01833, allocations: 91.78 kB / 314.7 MB, free: 7.219 MB / 298.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.0001085/0.01844, allocations: 99.19 kB / 314.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006029/0.01904, allocations: 427.7 kB / 315.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01905, allocations: 0 / 315.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.01928, allocations: 222.5 kB / 315.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.01951, allocations: 52.91 kB / 315.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.02023, allocations: 465.6 kB / 315.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.688e-05/0.02032, allocations: 142.9 kB / 316 MB, free: 5.738 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.02038, allocations: 20.5 kB / 316.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02038, allocations: 0 / 316.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of Templates: time 0.004876/0.02525, allocations: 4.431 MB / 320.5 MB, free: 1.273 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.416353716515005]