Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001521/0.001521, allocations: 73.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001822/0.001822, allocations: 158.6 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 54.58 kB / 325.6 MB, free: 456 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09995, allocations: 53.34 MB / 378.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005144/0.1051, allocations: 2.698 MB / 381.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1069, allocations: 0.7285 MB / 382.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.1072, allocations: 4 kB / 382.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1074, allocations: 47.45 kB / 382.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.1078, allocations: 103.2 kB / 382.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1082, allocations: 119.8 kB / 382.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000609/0.1088, allocations: 382.5 kB / 383 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.109, allocations: 95.59 kB / 383.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.1094, allocations: 163.4 kB / 383.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.1097, allocations: 143.3 kB / 383.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.1098, allocations: 40 kB / 383.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.1099, allocations: 36 kB / 383.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.752e-05/0.11, allocations: 79.69 kB / 383.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1101, allocations: 131.4 kB / 383.7 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.1107, allocations: 426.4 kB / 384.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1107, allocations: 4 kB / 384.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1107, allocations: 0 / 384.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.1107, allocations: 0 / 384.1 MB, free: 10.58 MB / 350.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.001492/0.1122, allocations: 0.6003 MB / 384.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1123, allocations: 12.03 kB / 384.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1124, allocations: 36.75 kB / 384.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.1128, allocations: 234.9 kB / 385 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.1129, allocations: 16.88 kB / 385 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.1129, allocations: 20.38 kB / 385 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/0.1137, allocations: 340.7 kB / 385.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1137, allocations: 0 / 385.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1138, allocations: 16 kB / 385.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1138, allocations: 7.984 kB / 385.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008722/0.1147, allocations: 273.8 kB / 385.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.1168, allocations: 1.011 MB / 386.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009275/0.1177, allocations: 234.6 kB / 386.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.118, allocations: 96.78 kB / 387 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1181, allocations: 0 / 387 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.1186, allocations: 206.5 kB / 387.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1186, allocations: 0 / 387.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002184/0.1208, allocations: 0.5098 MB / 387.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.1209, allocations: 81.11 kB / 387.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.1212, allocations: 261.8 kB / 388 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1212, allocations: 37.64 kB / 388 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1214, allocations: 200 kB / 388.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.1214, allocations: 39.69 kB / 388.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.1215, allocations: 57.59 kB / 388.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1217, allocations: 330.8 kB / 388.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.1221, allocations: 129.9 kB / 388.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.1225, allocations: 248.5 kB / 389 MB, free: 5.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007609/0.1233, allocations: 307.7 kB / 389.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1233, allocations: 4 kB / 389.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001301/0.1246, allocations: 469.5 kB / 389.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.1246, allocations: 40.66 kB / 389.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1246, allocations: 4 kB / 389.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/0.125, allocations: 76.8 kB / 389.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.1252, allocations: 47.91 kB / 390 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.1276, allocations: 1.499 MB / 391.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.1279, allocations: 51.75 kB / 391.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.128, allocations: 12 kB / 391.5 MB, free: 2.668 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.0001665/0.1281, allocations: 152.9 kB / 391.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.1282, allocations: 23.86 kB / 391.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.1282, allocations: 25.77 kB / 391.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1282, allocations: 4 kB / 391.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1282, allocations: 0 / 391.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1282, allocations: 4 kB / 391.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.1285, allocations: 209.2 kB / 391.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1285, allocations: 0 / 391.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.1287, allocations: 35.95 kB / 392 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.1289, allocations: 64.75 kB / 392 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1289, allocations: 11.98 kB / 392 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.1311, allocations: 1.491 MB / 393.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1311, allocations: 0 / 393.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.1325, allocations: 457.9 kB / 394 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.1325, allocations: 19.89 kB / 394 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.1326, allocations: 4 kB / 394 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.1328, allocations: 40.02 kB / 394 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.1329, allocations: 19.91 kB / 394.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1329, allocations: 0 / 394.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.1331, allocations: 181.2 kB / 394.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1331, allocations: 0 / 394.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000351/0.1335, allocations: 67.89 kB / 394.3 MB, free: 15.72 MB / 366.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.0001368/0.1336, allocations: 107.1 kB / 394.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.1347, allocations: 442.9 kB / 394.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1347, allocations: 4.25 kB / 394.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.1352, allocations: 218.6 kB / 395.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1355, allocations: 40.47 kB / 395.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.1392, allocations: 0.8804 MB / 396 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.1394, allocations: 142.9 kB / 396.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1395, allocations: 26.28 kB / 396.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.1396, allocations: 20.5 kB / 396.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1396, allocations: 0 / 396.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Templates: time 0.008603/0.1482, allocations: 3.747 MB / 399.9 MB, free: 10.06 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.321488371002488]