Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 107.2 kB / 18.34 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.1 MB / 225.1 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 51.92 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 46.63 MB / 328.7 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00444/0.1222, allocations: 2.602 MB / 331.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.124, allocations: 0.7098 MB / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1241, allocations: 0 / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.1244, allocations: 39.58 kB / 332.1 MB, free: 360 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1246, allocations: 87.31 kB / 332.2 MB, free: 272 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.1251, allocations: 95.81 kB / 332.3 MB, free: 176 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.1256, allocations: 326.7 kB / 332.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.1258, allocations: 76.72 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.1261, allocations: 127.5 kB / 332.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1263, allocations: 139.4 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.1264, allocations: 32 kB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.904e-05/0.1264, allocations: 28 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.1265, allocations: 63.75 kB / 333 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1267, allocations: 131.3 kB / 333.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.1271, allocations: 306.9 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1271, allocations: 0 / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1271, allocations: 0 / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.1272, allocations: 0 / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001359/0.1285, allocations: 0.6104 MB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.1286, allocations: 12.03 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.1287, allocations: 24.66 kB / 334.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.1292, allocations: 275.6 kB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1292, allocations: 16.75 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.1293, allocations: 24.36 kB / 334.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.1299, allocations: 236.6 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1299, allocations: 0 / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.1299, allocations: 8 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1299, allocations: 4 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006962/0.1306, allocations: 243.6 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.1321, allocations: 0.8208 MB / 335.7 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.1329, allocations: 234.5 kB / 335.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.1332, allocations: 100.8 kB / 336 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.1332, allocations: 7.984 kB / 336.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003945/0.1336, allocations: 153 kB / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1336, allocations: 0 / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009348/0.1346, allocations: 293.2 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.1347, allocations: 81.09 kB / 336.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.1349, allocations: 240.9 kB / 336.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.135, allocations: 29.7 kB / 336.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1351, allocations: 167.9 kB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.1352, allocations: 43.44 kB / 337 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.1353, allocations: 45.7 kB / 337.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1354, allocations: 330.8 kB / 337.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.1357, allocations: 92.73 kB / 337.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.1361, allocations: 150.7 kB / 337.6 MB, free: 10.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.1367, allocations: 242.7 kB / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1367, allocations: 4 kB / 337.9 MB, free: 10.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007359/0.1374, allocations: 307 kB / 338.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.1375, allocations: 37.7 kB / 338.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1375, allocations: 0 / 338.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1375, allocations: 7.938 kB / 338.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.1378, allocations: 55.95 kB / 338.3 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1378, allocations: 0 / 338.3 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.1381, allocations: 39.72 kB / 338.3 MB, free: 9.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.1381, allocations: 12 kB / 338.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003088/0.1384, allocations: 176.1 kB / 338.5 MB, free: 9.578 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002641/0.1387, allocations: 134.7 kB / 338.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004906/0.1392, allocations: 231.6 kB / 338.9 MB, free: 9.168 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.1392, allocations: 3.938 kB / 338.9 MB, free: 9.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006201/0.1398, allocations: 290 kB / 339.2 MB, free: 8.871 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.1399, allocations: 37.88 kB / 339.2 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.1399, allocations: 4 kB / 339.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/0.1399, allocations: 4 kB / 339.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1401, allocations: 43.97 kB / 339.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1401, allocations: 11.92 kB / 339.3 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.1404, allocations: 31.88 kB / 339.3 MB, free: 8.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.1404, allocations: 12 kB / 339.3 MB, free: 8.723 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.1405, allocations: 196.1 kB / 339.5 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1406, allocations: 15.81 kB / 339.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.1406, allocations: 25.83 kB / 339.5 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1406, allocations: 0 / 339.5 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1407, allocations: 0 / 339.5 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1407, allocations: 7.875 kB / 339.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.141, allocations: 289.3 kB / 339.8 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.141, allocations: 0 / 339.8 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.1413, allocations: 43.95 kB / 339.9 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1413, allocations: 4 kB / 339.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1413, allocations: 8 kB / 339.9 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1413, allocations: 0 / 339.9 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1413, allocations: 3.938 kB / 339.9 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008995/0.1422, allocations: 337.2 kB / 340.2 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.1423, allocations: 104.8 kB / 340.3 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.1424, allocations: 7.938 kB / 340.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1426, allocations: 23.97 kB / 340.3 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.1427, allocations: 24.03 kB / 340.4 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1427, allocations: 4 kB / 340.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.1429, allocations: 172.5 kB / 340.5 MB, free: 7.391 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1429, allocations: 0 / 340.5 MB, free: 7.391 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.1433, allocations: 99.75 kB / 340.6 MB, free: 7.293 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * 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.0001564/0.1435, allocations: 95.38 kB / 340.7 MB, free: 7.191 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009957/0.1445, allocations: 439.1 kB / 341.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1445, allocations: 0 / 341.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.1448, allocations: 96.62 kB / 341.2 MB, free: 6.645 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1451, allocations: 40.34 kB / 341.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.1463, allocations: 481.2 kB / 341.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1466, allocations: 0.7402 MB / 342.5 MB, free: 5.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.1467, allocations: 29.92 kB / 342.5 MB, free: 5.312 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.1468, allocations: 19.44 kB / 342.5 MB, free: 5.293 MB / 286.1 MB Notification: Performance of SimCode: time 1.302e-06/0.1468, allocations: 3.938 kB / 342.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of Templates: time 0.006906/0.1538, allocations: 2.957 MB / 345.5 MB, free: 2.332 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches