Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001514/0.001514, allocations: 123.4 kB / 18.46 MB, free: 4.598 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.001534/0.001534, allocations: 192.3 kB / 21.4 MB, free: 1.668 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.392/1.392, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 55.91 kB / 366.8 MB, free: 392 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 52.14 MB / 419 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004405/0.1131, allocations: 2.873 MB / 421.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1145, allocations: 0.7168 MB / 422.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1146, allocations: 7.938 kB / 422.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.1148, allocations: 47.58 kB / 422.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.115, allocations: 103.2 kB / 422.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1153, allocations: 115.8 kB / 422.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.1158, allocations: 390.5 kB / 423.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.116, allocations: 83.28 kB / 423.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.1162, allocations: 155.4 kB / 423.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1165, allocations: 167.3 kB / 423.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.1165, allocations: 40 kB / 423.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-05/0.1166, allocations: 40 kB / 423.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-05/0.1167, allocations: 75.69 kB / 423.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.1168, allocations: 171.2 kB / 423.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.1173, allocations: 418.4 kB / 424.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1173, allocations: 4 kB / 424.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1173, allocations: 0 / 424.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1173, allocations: 0 / 424.4 MB, free: 6.75 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.001366/0.1187, allocations: 0.6612 MB / 425 MB, free: 6.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1187, allocations: 19.83 kB / 425 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.1188, allocations: 36.7 kB / 425.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.1193, allocations: 304.6 kB / 425.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1193, allocations: 16.94 kB / 425.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.1194, allocations: 24.38 kB / 425.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.1201, allocations: 316 kB / 425.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1201, allocations: 7.969 kB / 425.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.1201, allocations: 12 kB / 425.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.1202, allocations: 8 kB / 425.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.121, allocations: 270 kB / 426 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.1229, allocations: 1.116 MB / 427.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.1238, allocations: 234.6 kB / 427.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.1242, allocations: 100.8 kB / 427.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1242, allocations: 0 / 427.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.1246, allocations: 172.9 kB / 427.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.1246, allocations: 0 / 427.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001143/0.1258, allocations: 317.3 kB / 427.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.1258, allocations: 77.11 kB / 428 MB, free: 2.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.1261, allocations: 270.6 kB / 428.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1261, allocations: 29.7 kB / 428.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.1263, allocations: 195.9 kB / 428.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.1263, allocations: 47.62 kB / 428.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.1264, allocations: 49.66 kB / 428.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1266, allocations: 334.8 kB / 428.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.127, allocations: 104.2 kB / 429 MB, free: 1.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.1274, allocations: 188.9 kB / 429.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/0.1281, allocations: 303.7 kB / 429.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1281, allocations: 3.938 kB / 429.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009281/0.1291, allocations: 369.6 kB / 429.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.1291, allocations: 30.05 kB / 429.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1291, allocations: 8 kB / 429.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1291, allocations: 4 kB / 429.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.1294, allocations: 71.88 kB / 430 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1295, allocations: 4 kB / 430 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.1298, allocations: 47.73 kB / 430 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.1298, allocations: 16 kB / 430 MB, free: 0.6992 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.1299, allocations: 141.8 kB / 430.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.13, allocations: 23.84 kB / 430.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.13, allocations: 25.72 kB / 430.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.13, allocations: 0 / 430.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.13, allocations: 0 / 430.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.1301, allocations: 11.86 kB / 430.2 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.1304, allocations: 317.4 kB / 430.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1304, allocations: 0 / 430.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1306, allocations: 43.95 kB / 430.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1306, allocations: 0 / 430.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1306, allocations: 4 kB / 430.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1306, allocations: 4 kB / 430.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1306, allocations: 3.938 kB / 430.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.1318, allocations: 368.6 kB / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/0.1319, allocations: 109 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.1319, allocations: 8 kB / 431.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.1321, allocations: 23.97 kB / 431.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.1322, allocations: 19.97 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.1322, allocations: 15.92 kB / 431.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.1324, allocations: 186 kB / 431.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1324, allocations: 0 / 431.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.1327, allocations: 63.89 kB / 431.4 MB, free: 15.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.1329, allocations: 107.2 kB / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008589/0.1337, allocations: 287.2 kB / 431.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1337, allocations: 0 / 431.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.1341, allocations: 99.8 kB / 431.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1344, allocations: 52.19 kB / 431.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1356, allocations: 0.5459 MB / 432.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.136, allocations: 0.7518 MB / 433.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.1361, allocations: 35.31 kB / 433.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1361, allocations: 0 / 433.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Templates: time 0.005789/0.1419, allocations: 3.354 MB / 436.6 MB, free: 9.973 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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: 6.706619101110846]