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.001931/0.001931, allocations: 119.4 kB / 18.41 MB, free: 4.613 MB / 14.72 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.002302/0.002303, allocations: 192.3 kB / 21.35 MB, free: 1.684 MB / 14.72 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.677/1.677, allocations: 222.9 MB / 247.1 MB, free: 4.203 MB / 190.1 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 0.001491/0.001491, allocations: 51.91 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09277, allocations: 49.44 MB / 408.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004189/0.097, allocations: 2.863 MB / 411 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.09828, allocations: 0.7168 MB / 411.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.09842, allocations: 8 kB / 411.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.09859, allocations: 51.5 kB / 411.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.09881, allocations: 95.19 kB / 411.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.0991, allocations: 115.8 kB / 412 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.09955, allocations: 386.5 kB / 412.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.09982, allocations: 131.2 kB / 412.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.1001, allocations: 151.4 kB / 412.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1003, allocations: 175.2 kB / 412.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.1004, allocations: 36 kB / 412.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.1004, allocations: 40 kB / 412.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.425e-05/0.1005, allocations: 75.75 kB / 412.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.1007, allocations: 163.2 kB / 413.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.1012, allocations: 422.4 kB / 413.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1012, allocations: 4 kB / 413.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1012, allocations: 4 kB / 413.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1012, allocations: 0 / 413.5 MB, free: 1.383 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001334/0.1025, allocations: 0.6602 MB / 414.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1026, allocations: 15.89 kB / 414.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.761e-05/0.1027, allocations: 36.7 kB / 414.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1031, allocations: 292.8 kB / 414.5 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.1032, allocations: 20.88 kB / 414.5 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.1032, allocations: 24.38 kB / 414.6 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/0.104, allocations: 316 kB / 414.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.104, allocations: 4 kB / 414.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.104, allocations: 8 kB / 414.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.104, allocations: 8 kB / 414.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/0.1049, allocations: 270 kB / 415.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1069, allocations: 1.173 MB / 416.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.1079, allocations: 246.5 kB / 416.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.1083, allocations: 104.8 kB / 416.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1083, allocations: 3.938 kB / 416.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/0.1088, allocations: 173 kB / 416.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.1088, allocations: 0 / 416.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002177/0.111, allocations: 0.5889 MB / 417.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.1111, allocations: 85.05 kB / 417.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.1114, allocations: 270.5 kB / 417.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1114, allocations: 29.7 kB / 417.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1116, allocations: 192 kB / 418 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.1116, allocations: 43.67 kB / 418 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1117, allocations: 53.66 kB / 418.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1119, allocations: 338.8 kB / 418.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.1123, allocations: 100.2 kB / 418.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.1127, allocations: 192.2 kB / 418.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/0.1135, allocations: 303.7 kB / 419 MB, free: 11.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1135, allocations: 4 kB / 419 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001279/0.1148, allocations: 441.9 kB / 419.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.1149, allocations: 41.62 kB / 419.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1149, allocations: 8.062 kB / 419.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.1152, allocations: 60.81 kB / 419.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1155, allocations: 55.91 kB / 419.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.1179, allocations: 1.637 MB / 421.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.1183, allocations: 39.86 kB / 421.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.1183, allocations: 12 kB / 421.3 MB, free: 9.07 MB / 350.1 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.0001794/0.1185, allocations: 149.7 kB / 421.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.1185, allocations: 27.86 kB / 421.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.1186, allocations: 25.72 kB / 421.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1186, allocations: 0 / 421.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1186, allocations: 3.984 kB / 421.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1186, allocations: 0 / 421.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.119, allocations: 317.3 kB / 421.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.119, allocations: 4 kB / 421.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.1192, allocations: 31.97 kB / 421.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.1194, allocations: 64.81 kB / 421.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1195, allocations: 3.938 kB / 421.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.1217, allocations: 1.629 MB / 423.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1217, allocations: 3.938 kB / 423.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1231, allocations: 449.5 kB / 424 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.1232, allocations: 105 kB / 424.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.1233, allocations: 4 kB / 424.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1235, allocations: 27.97 kB / 424.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.1236, allocations: 19.97 kB / 424.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1236, allocations: 4 kB / 424.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.1238, allocations: 190 kB / 424.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1239, allocations: 0 / 424.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.1242, allocations: 71.83 kB / 424.4 MB, free: 5.727 MB / 350.1 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.0001493/0.1243, allocations: 111.2 kB / 424.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1254, allocations: 408.2 kB / 424.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1254, allocations: 0 / 424.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.1259, allocations: 227 kB / 425.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1262, allocations: 52.45 kB / 425.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.1297, allocations: 0.8929 MB / 426.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1301, allocations: 0.7518 MB / 426.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.1302, allocations: 31.31 kB / 426.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1302, allocations: 0 / 426.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of Templates: time 0.1584/0.2886, allocations: 4.554 MB / 431.4 MB, free: 22.25 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.68779904791154]