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.001566/0.001567, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001627/0.001627, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.75/1.75, allocations: 205.1 MB / 224.5 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.001593/0.001593, allocations: 51.92 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1231, allocations: 46.61 MB / 375.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005317/0.1284, allocations: 2.598 MB / 377.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1304, allocations: 0.7134 MB / 378.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.1308, allocations: 4 kB / 378.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.131, allocations: 39.64 kB / 378.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.1315, allocations: 87.27 kB / 378.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.132, allocations: 87.83 kB / 378.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000731/0.1327, allocations: 330.5 kB / 379 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.133, allocations: 84.69 kB / 379.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.1335, allocations: 127.5 kB / 379.2 MB, free: 464 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.1339, allocations: 143.4 kB / 379.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.134, allocations: 28 kB / 379.4 MB, free: 292 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.1341, allocations: 28 kB / 379.4 MB, free: 264 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.1342, allocations: 59.7 kB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1343, allocations: 139.3 kB / 379.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3232/0.4576, allocations: 296.1 kB / 379.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.4576, allocations: 1.188 kB / 379.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4577, allocations: 0 / 379.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.4577, allocations: 0 / 379.9 MB, free: 10.73 MB / 318.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.001649/0.4593, allocations: 0.6143 MB / 380.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.229e-05/0.4594, allocations: 14.67 kB / 380.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.4596, allocations: 25.41 kB / 380.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.4603, allocations: 263.9 kB / 380.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.4604, allocations: 17.12 kB / 380.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.4605, allocations: 20.52 kB / 380.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000957/0.4614, allocations: 238.7 kB / 381.1 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4615, allocations: 3.938 kB / 381.1 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.4615, allocations: 9.625 kB / 381.1 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.4615, allocations: 5.5 kB / 381.1 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.4626, allocations: 241.3 kB / 381.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.4651, allocations: 0.8119 MB / 382.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.4663, allocations: 226.9 kB / 382.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.4667, allocations: 105 kB / 382.5 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.4668, allocations: 2.078 kB / 382.5 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006563/0.4674, allocations: 160.4 kB / 382.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/0.4674, allocations: 0 / 382.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001466/0.4689, allocations: 296.1 kB / 382.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.469, allocations: 79.39 kB / 383 MB, free: 9.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.4695, allocations: 244.3 kB / 383.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.4695, allocations: 29.08 kB / 383.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.4697, allocations: 165.4 kB / 383.4 MB, free: 9.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.4697, allocations: 41.27 kB / 383.5 MB, free: 9.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.4699, allocations: 41.56 kB / 383.5 MB, free: 9.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.47, allocations: 331.8 kB / 383.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.4704, allocations: 98.36 kB / 383.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.4708, allocations: 140.1 kB / 384.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.4715, allocations: 250.7 kB / 384.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4715, allocations: 0 / 384.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009166/0.4724, allocations: 319.6 kB / 384.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.4725, allocations: 33.8 kB / 384.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4725, allocations: 2.375 kB / 384.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.4726, allocations: 3.219 kB / 384.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.4728, allocations: 60.33 kB / 384.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4729, allocations: 2.062 kB / 384.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.4732, allocations: 39.28 kB / 384.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.4732, allocations: 12.41 kB / 384.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003594/0.4736, allocations: 175.6 kB / 384.9 MB, free: 8.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003266/0.4739, allocations: 134.2 kB / 385.1 MB, free: 8.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000618/0.4746, allocations: 224.8 kB / 385.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.4746, allocations: 0 / 385.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0008679/0.4755, allocations: 289.7 kB / 385.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.4755, allocations: 41.86 kB / 385.6 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.4755, allocations: 2.375 kB / 385.6 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.4755, allocations: 2.375 kB / 385.6 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.4758, allocations: 52.95 kB / 385.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4758, allocations: 4.859 kB / 385.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.4762, allocations: 37.72 kB / 385.7 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.4762, allocations: 6.875 kB / 385.7 MB, free: 7.953 MB / 318.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.0001806/0.4764, allocations: 204.9 kB / 385.9 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.4764, allocations: 21.75 kB / 385.9 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.633e-05/0.4765, allocations: 24.81 kB / 386 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4765, allocations: 3.453 kB / 386 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.4766, allocations: 0 / 386 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4766, allocations: 0.75 kB / 386 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.4771, allocations: 284.4 kB / 386.3 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4771, allocations: 1.969 kB / 386.3 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.4774, allocations: 49.3 kB / 386.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4774, allocations: 1.406 kB / 386.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.4774, allocations: 4.703 kB / 386.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.4774, allocations: 4.547 kB / 386.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.4774, allocations: 1.562 kB / 386.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.4786, allocations: 339.4 kB / 386.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.4788, allocations: 99.33 kB / 386.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.4788, allocations: 2.406 kB / 386.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.4791, allocations: 31.97 kB / 386.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.4792, allocations: 16.56 kB / 386.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.4792, allocations: 3.328 kB / 386.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.4794, allocations: 173.4 kB / 387 MB, free: 7.113 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4795, allocations: 0 / 387 MB, free: 7.113 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005831/0.48, allocations: 103.7 kB / 387.1 MB, free: 7.09 MB / 318.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.0002535/0.4803, allocations: 100.5 kB / 387.2 MB, free: 7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.4817, allocations: 435.6 kB / 387.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4818, allocations: 0.75 kB / 387.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.4821, allocations: 100.3 kB / 387.7 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.4826, allocations: 46.48 kB / 387.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4841, allocations: 477.1 kB / 388.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.4846, allocations: 0.7399 MB / 388.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.4848, allocations: 26.06 kB / 389 MB, free: 5.766 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/0.4849, allocations: 24.88 kB / 389 MB, free: 5.758 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4849, allocations: 0 / 389 MB, free: 5.758 MB / 318.1 MB Notification: Performance of Templates: time 0.01049/0.4954, allocations: 2.995 MB / 392 MB, free: 5.551 MB / 318.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