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.001245/0.001245, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.00126/0.00126, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.56/1.56, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001177/0.001177, allocations: 47.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1156, allocations: 46.64 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004866/0.1205, allocations: 2.602 MB / 331.3 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1222, allocations: 0.7098 MB / 332 MB, free: 404 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.1225, allocations: 4 kB / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.1227, allocations: 35.64 kB / 332.1 MB, free: 364 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1229, allocations: 87.27 kB / 332.2 MB, free: 276 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.1233, allocations: 91.81 kB / 332.3 MB, free: 184 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.1238, allocations: 326.8 kB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.1241, allocations: 76.62 kB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.1243, allocations: 127.5 kB / 332.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1246, allocations: 143.4 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.1246, allocations: 28 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.1247, allocations: 28 kB / 333 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.1248, allocations: 63.7 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.1249, allocations: 131.3 kB / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.1253, allocations: 310.9 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1253, allocations: 0 / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.1254, allocations: 0 / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1254, 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.001542/0.1269, allocations: 0.6104 MB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.127, allocations: 12.03 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.1271, allocations: 24.66 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.1276, allocations: 275.6 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.1276, allocations: 20.69 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.1277, allocations: 16.38 kB / 334.4 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.1283, allocations: 244.6 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1283, allocations: 0 / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.1284, allocations: 8 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1284, allocations: 4 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.1291, allocations: 243.6 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.1305, allocations: 0.8169 MB / 335.7 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/0.1313, allocations: 234.5 kB / 335.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.1316, allocations: 96.78 kB / 336 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.1316, allocations: 7.938 kB / 336.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.1321, allocations: 153 kB / 336.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.1321, allocations: 4 kB / 336.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009712/0.1331, allocations: 293.2 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.1332, allocations: 77.11 kB / 336.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1334, allocations: 244.9 kB / 336.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.1335, allocations: 29.7 kB / 336.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1336, allocations: 171.9 kB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.1337, allocations: 39.45 kB / 337 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.1338, allocations: 41.7 kB / 337.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1339, allocations: 326.8 kB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.1342, allocations: 100.8 kB / 337.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.1345, allocations: 146.7 kB / 337.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.1351, allocations: 246.6 kB / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1351, allocations: 4 kB / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007134/0.1358, allocations: 310.9 kB / 338.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.1359, allocations: 33.7 kB / 338.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1359, allocations: 3.984 kB / 338.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.1359, allocations: 4 kB / 338.2 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1362, allocations: 55.89 kB / 338.3 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1362, allocations: 0 / 338.3 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.1365, allocations: 47.75 kB / 338.3 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.1365, allocations: 12 kB / 338.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003077/0.1368, allocations: 168.1 kB / 338.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002693/0.1371, allocations: 138.7 kB / 338.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004755/0.1376, allocations: 223.6 kB / 338.9 MB, free: 9.176 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.1376, allocations: 3.938 kB / 338.9 MB, free: 9.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006304/0.1383, allocations: 294.2 kB / 339.2 MB, free: 8.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.1383, allocations: 37.7 kB / 339.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.1383, allocations: 0 / 339.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.1383, allocations: 4 kB / 339.2 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1385, allocations: 47.95 kB / 339.2 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1385, allocations: 7.938 kB / 339.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1388, allocations: 31.88 kB / 339.3 MB, free: 8.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1388, allocations: 12.03 kB / 339.3 MB, free: 8.73 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.0001326/0.139, allocations: 197.1 kB / 339.5 MB, free: 8.531 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.139, allocations: 19.8 kB / 339.5 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.1391, allocations: 21.84 kB / 339.5 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.1391, allocations: 0 / 339.5 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1391, allocations: 0 / 339.5 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.1391, allocations: 3.984 kB / 339.5 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.1394, allocations: 289.3 kB / 339.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1394, allocations: 3.938 kB / 339.8 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.1397, allocations: 47.89 kB / 339.9 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1397, allocations: 4 kB / 339.9 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1397, allocations: 0 / 339.9 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.1397, allocations: 4 kB / 339.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1397, allocations: 0 / 339.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.1406, allocations: 349.1 kB / 340.2 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.1407, allocations: 100.8 kB / 340.3 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.1408, allocations: 8 kB / 340.3 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.141, allocations: 24.03 kB / 340.3 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.1411, allocations: 15.98 kB / 340.4 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1411, allocations: 15.92 kB / 340.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1413, allocations: 168.5 kB / 340.5 MB, free: 7.395 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1413, allocations: 0 / 340.5 MB, free: 7.395 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.1417, allocations: 95.75 kB / 340.6 MB, free: 7.301 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.0001666/0.1418, allocations: 103.2 kB / 340.7 MB, free: 7.191 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1429, allocations: 429.6 kB / 341.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1429, allocations: 0 / 341.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.1432, allocations: 99.92 kB / 341.2 MB, free: 6.652 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1435, allocations: 48.33 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.001143/0.1446, allocations: 477.2 kB / 341.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.1451, allocations: 0.744 MB / 342.5 MB, free: 5.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.1452, 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 7.298e-05/0.1453, allocations: 19.44 kB / 342.6 MB, free: 5.293 MB / 286.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1453, allocations: 0 / 342.6 MB, free: 5.293 MB / 286.1 MB Notification: Performance of Templates: time 0.006884/0.1522, allocations: 2.954 MB / 345.5 MB, free: 2.336 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 cvode -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