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.001393/0.001393, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001166/0.001167, allocations: 191.9 kB / 18.51 MB, free: 4.508 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.511/1.511, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.00135/0.00135, allocations: 51.92 kB / 280.7 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1156, allocations: 46.63 MB / 327.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004075/0.1197, allocations: 2.606 MB / 329.9 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.121, allocations: 0.702 MB / 330.6 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1211, allocations: 7.938 kB / 330.6 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.1213, allocations: 35.58 kB / 330.6 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1215, allocations: 79.33 kB / 330.7 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1218, allocations: 91.81 kB / 330.8 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000405/0.1222, allocations: 334.7 kB / 331.1 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1225, allocations: 76.72 kB / 331.2 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1227, allocations: 127.5 kB / 331.3 MB, free: 400 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1229, allocations: 139.4 kB / 331.5 MB, free: 260 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.1229, allocations: 28 kB / 331.5 MB, free: 232 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.587e-05/0.123, allocations: 28 kB / 331.5 MB, free: 204 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.123, allocations: 63.77 kB / 331.6 MB, free: 140 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1232, allocations: 131.3 kB / 331.7 MB, free: 8 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.1235, allocations: 307.2 kB / 332 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1235, allocations: 0 / 332 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1236, allocations: 0 / 332 MB, free: 15.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1236, allocations: 0 / 332 MB, free: 15.71 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.001206/0.1248, allocations: 0.6104 MB / 332.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1248, allocations: 8.031 kB / 332.6 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.1249, allocations: 32.58 kB / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.1253, allocations: 279.4 kB / 332.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1253, allocations: 12.75 kB / 333 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.1253, allocations: 20.38 kB / 333 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.1259, allocations: 236.6 kB / 333.2 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.126, allocations: 7.984 kB / 333.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.126, allocations: 8 kB / 333.2 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.126, allocations: 4 kB / 333.2 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.1267, allocations: 247.6 kB / 333.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.1281, allocations: 0.8169 MB / 334.3 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.1289, allocations: 230.5 kB / 334.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.1292, allocations: 96.78 kB / 334.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1292, allocations: 3.984 kB / 334.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004313/0.1297, allocations: 169 kB / 334.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1297, allocations: 0 / 334.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008899/0.1306, allocations: 277.2 kB / 335 MB, free: 12.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1306, allocations: 89.11 kB / 335.1 MB, free: 12.37 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.1309, allocations: 236.9 kB / 335.4 MB, free: 12.12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.1309, allocations: 29.7 kB / 335.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.131, allocations: 167.9 kB / 335.6 MB, free: 11.92 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.1311, allocations: 39.45 kB / 335.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.1311, allocations: 41.7 kB / 335.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1312, allocations: 326.8 kB / 336 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.1316, allocations: 100.7 kB / 336 MB, free: 11.4 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.1319, allocations: 158.7 kB / 336.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.1325, allocations: 238.8 kB / 336.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1325, allocations: 0 / 336.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007334/0.1332, allocations: 314.8 kB / 336.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.1333, allocations: 33.7 kB / 336.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1333, allocations: 4 kB / 336.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1333, allocations: 0 / 336.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.1336, allocations: 55.94 kB / 336.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1336, allocations: 7.938 kB / 336.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.1338, allocations: 43.81 kB / 336.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1339, allocations: 8 kB / 336.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003127/0.1342, allocations: 176.1 kB / 337.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000272/0.1345, allocations: 134.8 kB / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004759/0.1349, allocations: 215.6 kB / 337.4 MB, free: 9.918 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/0.135, allocations: 3.938 kB / 337.4 MB, free: 9.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006386/0.1356, allocations: 302 kB / 337.7 MB, free: 9.609 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1356, allocations: 29.7 kB / 337.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1357, allocations: 4 kB / 337.7 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.1357, allocations: 0 / 337.7 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.1359, allocations: 55.89 kB / 337.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1359, allocations: 8 kB / 337.8 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.1361, allocations: 31.94 kB / 337.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1362, allocations: 12 kB / 337.8 MB, free: 9.465 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.000124/0.1363, allocations: 196.1 kB / 338 MB, free: 9.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.1363, allocations: 19.81 kB / 338.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.814e-05/0.1364, allocations: 25.83 kB / 338.1 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1364, allocations: 0 / 338.1 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1364, allocations: 4 kB / 338.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1364, allocations: 0 / 338.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.1367, allocations: 289.3 kB / 338.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1367, allocations: 8 kB / 338.4 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.137, allocations: 39.97 kB / 338.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.137, allocations: 0 / 338.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.137, allocations: 3.984 kB / 338.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.137, allocations: 4 kB / 338.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.137, allocations: 0 / 338.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009491/0.138, allocations: 345.2 kB / 338.8 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.1381, allocations: 100.8 kB / 338.9 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.1381, allocations: 3.984 kB / 338.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.1383, allocations: 32.03 kB / 338.9 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.1384, allocations: 15.98 kB / 338.9 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1384, allocations: 7.938 kB / 338.9 MB, free: 8.301 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.1386, allocations: 172.5 kB / 339.1 MB, free: 8.133 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1386, allocations: 0 / 339.1 MB, free: 8.133 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003943/0.139, allocations: 99.75 kB / 339.2 MB, free: 8.035 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.0001771/0.1392, allocations: 107.2 kB / 339.3 MB, free: 7.922 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1403, allocations: 432.2 kB / 339.7 MB, free: 7.477 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1404, allocations: 4.125 kB / 339.7 MB, free: 7.473 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.1407, allocations: 95.86 kB / 339.8 MB, free: 7.379 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1411, allocations: 48.33 kB / 339.9 MB, free: 7.332 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1422, allocations: 489.2 kB / 340.3 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1425, allocations: 0.744 MB / 341.1 MB, free: 6.055 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.1427, allocations: 25.94 kB / 341.1 MB, free: 6.031 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.1427, allocations: 19.44 kB / 341.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1428, allocations: 0 / 341.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of Templates: time 0.007096/0.1499, allocations: 2.972 MB / 344.1 MB, free: 3.043 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/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