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.002059/0.002059, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002571/0.002571, allocations: 167.5 kB / 25.02 MB, free: 8.43 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 1.448/1.448, allocations: 158.6 MB / 186.8 MB, free: 2.84 MB / 170.7 MB " [Timeout remaining time 178] 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.774e-06/1.774e-06, allocations: 0 / 250.4 MB, free: 3.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.883e-05, allocations: 2.312 kB / 250.4 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004221/0.00425, allocations: 2.446 MB / 252.8 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.005711, allocations: 0.6864 MB / 253.5 MB, free: 0.75 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.005829, allocations: 4 kB / 253.5 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.005986, allocations: 39.58 kB / 253.6 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.006188, allocations: 91.27 kB / 253.7 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.006498, allocations: 95.75 kB / 253.8 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.006922, allocations: 334.5 kB / 254.1 MB, free: 200 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.007092, allocations: 60.77 kB / 254.1 MB, free: 136 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.007429, allocations: 183.5 kB / 254.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.007614, allocations: 103.7 kB / 254.4 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.007673, allocations: 28 kB / 254.4 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-05/0.007727, allocations: 35.94 kB / 254.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.0078, allocations: 59.75 kB / 254.5 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.007941, allocations: 95.75 kB / 254.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.008355, allocations: 311 kB / 254.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.008367, allocations: 0 / 254.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008368, allocations: 0 / 254.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.008374, allocations: 0 / 254.9 MB, free: 15.33 MB / 250.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.001315/0.009689, allocations: 0.5503 MB / 255.5 MB, free: 14.74 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.00973, allocations: 19.92 kB / 255.5 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.009841, allocations: 40.78 kB / 255.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.01027, allocations: 213.1 kB / 255.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.0103, allocations: 16.75 kB / 255.8 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.01035, allocations: 20.38 kB / 255.8 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.01102, allocations: 258.8 kB / 256 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01103, allocations: 192 / 256 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.01106, allocations: 8.359 kB / 256.1 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.01107, allocations: 7.938 kB / 256.1 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.01186, allocations: 235.6 kB / 256.3 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.01366, allocations: 0.6978 MB / 257 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/0.01465, allocations: 246.5 kB / 257.2 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.015, allocations: 92.78 kB / 257.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.01503, allocations: 8 kB / 257.3 MB, free: 12.81 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005409/0.01557, allocations: 202.6 kB / 257.5 MB, free: 12.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.01557, allocations: 0 / 257.5 MB, free: 12.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001176/0.01675, allocations: 307.6 kB / 257.8 MB, free: 12.28 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.01682, allocations: 85.11 kB / 257.9 MB, free: 12.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.01711, allocations: 231.3 kB / 258.1 MB, free: 11.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.01715, allocations: 33.7 kB / 258.2 MB, free: 11.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.01731, allocations: 168.1 kB / 258.3 MB, free: 11.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.01736, allocations: 47.59 kB / 258.4 MB, free: 11.69 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/0.01745, allocations: 37.7 kB / 258.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.01765, allocations: 330.8 kB / 258.7 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.01806, allocations: 134.4 kB / 258.9 MB, free: 11.17 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.01853, allocations: 210.2 kB / 259.1 MB, free: 10.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.01928, allocations: 258.2 kB / 259.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01928, allocations: 0 / 259.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009778/0.02026, allocations: 368.5 kB / 259.7 MB, free: 10.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.0203, allocations: 33.7 kB / 259.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.02032, allocations: 7.938 kB / 259.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.02034, allocations: 4 kB / 259.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.02065, allocations: 68.06 kB / 259.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.02066, allocations: 4 kB / 259.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.02095, allocations: 35.86 kB / 259.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.02098, allocations: 12 kB / 259.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003983/0.02138, allocations: 197.8 kB / 260 MB, free: 9.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003601/0.02174, allocations: 190.2 kB / 260.2 MB, free: 9.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005622/0.0223, allocations: 230.5 kB / 260.5 MB, free: 9.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.0223, allocations: 0 / 260.5 MB, free: 9.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007775/0.02308, allocations: 320.6 kB / 260.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.02312, allocations: 41.62 kB / 260.8 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.02313, allocations: 192 / 260.8 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.02313, allocations: 8 kB / 260.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.02337, allocations: 51.91 kB / 260.9 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.02338, allocations: 3.984 kB / 260.9 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.02363, allocations: 35.86 kB / 260.9 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.02365, allocations: 12 kB / 260.9 MB, free: 8.941 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.0001654/0.02382, allocations: 188.2 kB / 261.1 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.02387, allocations: 23.84 kB / 261.1 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.02393, allocations: 33.39 kB / 261.2 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.02394, allocations: 4 kB / 261.2 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.02394, allocations: 0 / 261.2 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.02395, allocations: 0 / 261.2 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.02424, allocations: 197.1 kB / 261.4 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.02424, allocations: 0 / 261.4 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.02451, allocations: 47.94 kB / 261.4 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.02451, allocations: 3.938 kB / 261.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.02453, allocations: 7.938 kB / 261.4 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.02454, allocations: 4 kB / 261.4 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.02454, allocations: 3.984 kB / 261.4 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.02571, allocations: 355.6 kB / 261.8 MB, free: 8.035 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.02576, allocations: 27.88 kB / 261.8 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.0258, allocations: 3.938 kB / 261.8 MB, free: 8.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.02605, allocations: 35.95 kB / 261.8 MB, free: 7.969 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.02613, allocations: 11.98 kB / 261.8 MB, free: 7.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.02615, allocations: 7.984 kB / 261.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.02634, allocations: 172.3 kB / 262 MB, free: 7.781 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02634, allocations: 0 / 262 MB, free: 7.781 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004381/0.02678, allocations: 99.78 kB / 262.1 MB, free: 7.684 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 0.0001616/0.02694, allocations: 107.2 kB / 262.2 MB, free: 7.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.02821, allocations: 488 kB / 262.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02822, allocations: 0 / 262.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.02858, allocations: 100.6 kB / 262.8 MB, free: 6.961 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.02893, allocations: 56.52 kB / 262.9 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.03005, allocations: 468 kB / 263.3 MB, free: 6.422 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.03018, allocations: 130.2 kB / 263.4 MB, free: 6.277 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.03053, allocations: 25.94 kB / 263.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.03062, allocations: 24.5 kB / 263.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03062, allocations: 0 / 263.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of Templates: time 0.007564/0.03818, allocations: 3.141 MB / 266.6 MB, free: 3.105 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4509989119833335]