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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.958/0.958, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 252.3 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.72e-05, allocations: 6.25 kB / 252.3 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002713/0.00273, allocations: 2.58 MB / 254.9 MB, free: 4.621 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003756, allocations: 0.6981 MB / 255.6 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.003867, allocations: 4 kB / 255.6 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.003984, allocations: 35.58 kB / 255.6 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.004127, allocations: 91.27 kB / 255.7 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.004364, allocations: 91.75 kB / 255.8 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.004643, allocations: 342.4 kB / 256.1 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.004773, allocations: 56.91 kB / 256.2 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.005004, allocations: 187.5 kB / 256.4 MB, free: 3.117 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.005124, allocations: 107.7 kB / 256.5 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.005159, allocations: 28 kB / 256.5 MB, free: 2.984 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.774e-05/0.005187, allocations: 28 kB / 256.5 MB, free: 2.957 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.005233, allocations: 59.75 kB / 256.6 MB, free: 2.898 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.295e-05/0.005316, allocations: 95.75 kB / 256.7 MB, free: 2.805 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.005514, allocations: 207.2 kB / 256.9 MB, free: 2.602 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005517, allocations: 0 / 256.9 MB, free: 2.602 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005517, allocations: 0 / 256.9 MB, free: 2.602 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005521, allocations: 4 kB / 256.9 MB, free: 2.598 MB / 234.7 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.0007299/0.006251, allocations: 0.6229 MB / 257.5 MB, free: 1.93 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.006282, allocations: 15.97 kB / 257.5 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.006343, allocations: 44.8 kB / 257.6 MB, free: 1.871 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.006538, allocations: 204.1 kB / 257.8 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.006554, allocations: 16.75 kB / 257.8 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.006582, allocations: 16.38 kB / 257.8 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.006826, allocations: 191.5 kB / 258 MB, free: 1.414 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.006836, allocations: 192 / 258 MB, free: 1.414 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.006855, allocations: 12.36 kB / 258 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.006861, allocations: 7.938 kB / 258 MB, free: 1.395 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.006952, allocations: 67.39 kB / 258.1 MB, free: 1.328 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.007685, allocations: 0.6819 MB / 258.7 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.007907, allocations: 111.2 kB / 258.9 MB, free: 492 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.007947, allocations: 35.66 kB / 258.9 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.007962, allocations: 4 kB / 258.9 MB, free: 448 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.008216, allocations: 149.6 kB / 259 MB, free: 272 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.008219, allocations: 3.984 kB / 259 MB, free: 268 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.000198/0.008417, allocations: 121.5 kB / 259.2 MB, free: 140 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.00845, allocations: 77.11 kB / 259.2 MB, free: 44 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.008593, allocations: 269.9 kB / 259.5 MB, free: 15.76 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.008609, allocations: 29.7 kB / 259.5 MB, free: 15.72 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.008699, allocations: 214.8 kB / 259.7 MB, free: 15.51 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.008728, allocations: 39.64 kB / 259.8 MB, free: 15.47 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.008783, allocations: 55.19 kB / 259.8 MB, free: 15.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.008891, allocations: 0.5117 MB / 260.3 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.008942, allocations: 53.38 kB / 260.4 MB, free: 14.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.433e-05/0.009026, allocations: 152.9 kB / 260.5 MB, free: 14.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.009146, allocations: 155 kB / 260.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.009148, allocations: 0 / 260.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002129/0.009361, allocations: 224.7 kB / 260.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.009383, allocations: 29.7 kB / 260.9 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.009388, allocations: 4 kB / 261 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.009399, allocations: 7.938 kB / 261 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.00953, allocations: 51.91 kB / 261 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.009534, allocations: 4 kB / 261 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.009639, allocations: 40.05 kB / 261.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.009651, allocations: 4 kB / 261.1 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.149e-05/0.009733, allocations: 180.5 kB / 261.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.184e-05/0.009804, allocations: 148.9 kB / 261.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.368e-05/0.009898, allocations: 151.3 kB / 261.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/0.009899, allocations: 0 / 261.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001685/0.01007, allocations: 216.7 kB / 261.7 MB, free: 13.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01008, allocations: 36.98 kB / 261.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.01008, allocations: 0 / 261.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.0101, allocations: 15.92 kB / 261.8 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.01019, allocations: 47.92 kB / 261.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.01019, allocations: 4 kB / 261.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.01028, allocations: 32.12 kB / 261.9 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.01029, allocations: 7.984 kB / 261.9 MB, free: 13.12 MB / 250.7 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.0001007/0.01039, allocations: 283.9 kB / 262.2 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.01042, allocations: 27.86 kB / 262.2 MB, free: 12.81 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.01045, allocations: 25.39 kB / 262.2 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01046, allocations: 4 kB / 262.2 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01046, allocations: 0 / 262.2 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01046, allocations: 0 / 262.2 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.01059, allocations: 153.2 kB / 262.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01059, allocations: 0 / 262.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.01093, allocations: 47.91 kB / 262.4 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.01093, allocations: 0 / 262.4 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.01094, allocations: 0 / 262.4 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.01094, allocations: 0 / 262.4 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01094, allocations: 11.92 kB / 262.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.01114, allocations: 168.2 kB / 262.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.01116, allocations: 19.84 kB / 262.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.01119, allocations: 7.984 kB / 262.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.01126, allocations: 20.02 kB / 262.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.0113, allocations: 19.91 kB / 262.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.01131, allocations: 4 kB / 262.7 MB, free: 12.29 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.624e-05/0.01139, allocations: 188.3 kB / 262.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01139, allocations: 0 / 262.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.01164, allocations: 111.7 kB / 262.9 MB, free: 11.99 MB / 250.7 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 7.211e-05/0.01171, allocations: 95.25 kB / 263 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.01197, allocations: 322.1 kB / 263.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.01197, allocations: 3.938 kB / 263.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.395e-05/0.01203, allocations: 45.22 kB / 263.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01222, allocations: 48.64 kB / 263.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.01284, allocations: 441.8 kB / 263.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.01288, allocations: 72.33 kB / 264 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.01295, allocations: 29.94 kB / 264 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.01308, allocations: 114.2 kB / 264.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01308, allocations: 0 / 264.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of Templates: time 0.004602/0.01769, allocations: 3.465 MB / 267.6 MB, free: 7.297 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9260255019180477]