Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002528/0.002528, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.888e-05/4.097e-05, allocations: 6.25 kB / 267.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.006126/0.006167, allocations: 2.694 MB / 270.1 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.008386, allocations: 0.6895 MB / 270.7 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.008759, allocations: 4 kB / 270.7 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.009122, allocations: 47.56 kB / 270.8 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.009572, allocations: 107.1 kB / 270.9 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.01015, allocations: 115.8 kB / 271 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007897/0.01094, allocations: 406.3 kB / 271.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.01123, allocations: 83.61 kB / 271.5 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006558/0.01189, allocations: 231.5 kB / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.01224, allocations: 127.6 kB / 271.8 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.71e-05/0.01234, allocations: 36 kB / 271.9 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.174e-05/0.01243, allocations: 40 kB / 271.9 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.01254, allocations: 71.75 kB / 272 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.01276, allocations: 115.7 kB / 272.1 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007298/0.01349, allocations: 442.6 kB / 272.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.01349, allocations: 0 / 272.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.01349, allocations: 0 / 272.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.01351, allocations: 4 kB / 272.5 MB, free: 1.461 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.002008/0.01552, allocations: 0.5848 MB / 273.1 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.01557, allocations: 8.031 kB / 273.1 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.01577, allocations: 56.7 kB / 273.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.01648, allocations: 238.2 kB / 273.4 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.01652, allocations: 20.81 kB / 273.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.01659, allocations: 20.38 kB / 273.5 MB, free: 488 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/0.01753, allocations: 337 kB / 273.8 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.01754, allocations: 192 / 273.8 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.01758, allocations: 12.38 kB / 273.8 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.0176, allocations: 11.94 kB / 273.8 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009608/0.01856, allocations: 277.8 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.02117, allocations: 1.015 MB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009636/0.02213, allocations: 238.5 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.02249, allocations: 96.78 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.02251, allocations: 4 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.02308, allocations: 198.6 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 2.425e-06/0.02308, allocations: 0 / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.002353/0.02544, allocations: 0.5175 MB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.02553, allocations: 81.11 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.02597, allocations: 261.8 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.02602, allocations: 29.7 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.02624, allocations: 203.9 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.02631, allocations: 39.69 kB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.02645, allocations: 45.7 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.02668, allocations: 338.8 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.02712, allocations: 133.9 kB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.02764, allocations: 243 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.02848, allocations: 311.2 kB / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.02849, allocations: 0 / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001477/0.02996, allocations: 477.6 kB / 278.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.03003, allocations: 37.69 kB / 278.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.03005, allocations: 4 kB / 278.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/0.03071, allocations: 112.8 kB / 278.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.03098, allocations: 55.91 kB / 278.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.0339, allocations: 1.514 MB / 280 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.03431, allocations: 59.78 kB / 280 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.03435, allocations: 12 kB / 280 MB, free: 9.469 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.03459, allocations: 145.8 kB / 280.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.03467, allocations: 31.8 kB / 280.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.03472, allocations: 17.78 kB / 280.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.03473, allocations: 4 kB / 280.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.03474, allocations: 3.984 kB / 280.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.03474, allocations: 3.938 kB / 280.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.03516, allocations: 205.2 kB / 280.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.03517, allocations: 4 kB / 280.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.03537, allocations: 31.97 kB / 280.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/0.03588, allocations: 112.7 kB / 280.6 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.0359, allocations: 4 kB / 280.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.03846, allocations: 1.498 MB / 282.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.03846, allocations: 0 / 282.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.04009, allocations: 469.8 kB / 282.5 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.04018, allocations: 19.88 kB / 282.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.04022, allocations: 4 kB / 282.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.04047, allocations: 27.97 kB / 282.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.04058, allocations: 19.97 kB / 282.6 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.0406, allocations: 7.938 kB / 282.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003028/0.04091, allocations: 185.2 kB / 282.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04091, allocations: 4.062 kB / 282.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004877/0.04139, allocations: 67.89 kB / 282.9 MB, free: 6.461 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002832/0.04168, allocations: 103.2 kB / 283 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.04301, allocations: 427.3 kB / 283.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.04302, allocations: 0 / 283.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.04354, allocations: 219.3 kB / 283.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.04395, allocations: 55.36 kB / 283.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.04889, allocations: 0.8443 MB / 284.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.04912, allocations: 142.9 kB / 284.6 MB, free: 4.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.04926, allocations: 26.28 kB / 284.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.04935, allocations: 20.5 kB / 284.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of SimCode: time 2.204e-06/0.04936, allocations: 0 / 284.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of Templates: time 0.01426/0.06362, allocations: 3.751 MB / 288.4 MB, free: 0.8477 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.618971194024198]