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.0007447/0.0007447, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001848, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.000724/0.000724, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009401/0.001664, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9005/0.9005, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.165/1.065, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.813e-06/1.813e-06, allocations: 0 / 222 MB, free: 32 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.47e-05, allocations: 2.312 kB / 222 MB, free: 28 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004193/0.004218, allocations: 2.639 MB / 224.7 MB, free: 13.37 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.005607, allocations: 0.7252 MB / 225.4 MB, free: 12.63 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.005768, allocations: 0 / 225.4 MB, free: 12.63 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.005879, allocations: 39.64 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.006045, allocations: 91.22 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.006306, allocations: 99.73 kB / 225.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.006744, allocations: 330.6 kB / 225.9 MB, free: 12.08 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.00691, allocations: 58.86 kB / 226 MB, free: 12.03 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005289/0.007439, allocations: 225.1 kB / 226.2 MB, free: 11.81 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.007662, allocations: 111.7 kB / 226.3 MB, free: 11.7 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.007717, allocations: 28 kB / 226.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.124e-05/0.007759, allocations: 28 kB / 226.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.007814, allocations: 39.88 kB / 226.4 MB, free: 11.61 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.738e-05/0.007901, allocations: 79.81 kB / 226.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.008166, allocations: 175.4 kB / 226.7 MB, free: 11.36 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.729e-05/0.008183, allocations: 4 kB / 226.7 MB, free: 11.35 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008184, allocations: 0 / 226.7 MB, free: 11.35 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.008197, allocations: 3.938 kB / 226.7 MB, free: 11.35 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.0009746/0.009172, allocations: 0.5487 MB / 227.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.009208, allocations: 8.031 kB / 227.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.009293, allocations: 32.91 kB / 227.3 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.009595, allocations: 181.4 kB / 227.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.009614, allocations: 12.75 kB / 227.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.009656, allocations: 20.38 kB / 227.5 MB, free: 10.49 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.009949, allocations: 191.5 kB / 227.7 MB, free: 10.29 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.009959, allocations: 192 / 227.7 MB, free: 10.29 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.009977, allocations: 8.375 kB / 227.7 MB, free: 10.29 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.009985, allocations: 7.938 kB / 227.7 MB, free: 10.28 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.01007, allocations: 63.47 kB / 227.7 MB, free: 10.21 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.01088, allocations: 0.5108 MB / 228.2 MB, free: 9.668 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.01115, allocations: 110.5 kB / 228.4 MB, free: 9.551 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.01119, allocations: 28.84 kB / 228.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.01121, allocations: 0 / 228.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.01141, allocations: 130.7 kB / 228.5 MB, free: 9.367 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.01141, allocations: 0 / 228.5 MB, free: 9.367 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002082/0.01162, allocations: 101.3 kB / 228.6 MB, free: 9.266 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.01165, allocations: 59.34 kB / 228.7 MB, free: 9.195 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.0118, allocations: 210.6 kB / 228.9 MB, free: 8.977 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.01182, allocations: 29.7 kB / 228.9 MB, free: 8.941 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.0119, allocations: 163.8 kB / 229.1 MB, free: 8.777 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.01193, allocations: 47.62 kB / 229.1 MB, free: 8.73 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.01199, allocations: 45.69 kB / 229.2 MB, free: 8.68 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0004975/0.01249, allocations: 330.7 kB / 229.5 MB, free: 8.348 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.01256, allocations: 54.55 kB / 229.5 MB, free: 8.285 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/0.01265, allocations: 130.2 kB / 229.7 MB, free: 8.121 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.01278, allocations: 134.5 kB / 229.8 MB, free: 7.965 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.01278, allocations: 4.031 kB / 229.8 MB, free: 7.961 MB / 234.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001878/0.01297, allocations: 188.8 kB / 230 MB, free: 7.758 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.01301, allocations: 33.7 kB / 230 MB, free: 7.719 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01302, allocations: 0 / 230 MB, free: 7.719 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.01304, allocations: 4 kB / 230 MB, free: 7.715 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.01325, allocations: 63.89 kB / 230.1 MB, free: 7.652 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.01326, allocations: 16.11 kB / 230.1 MB, free: 7.637 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01336, allocations: 27.88 kB / 230.1 MB, free: 7.609 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.01338, allocations: 8 kB / 230.1 MB, free: 7.602 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.952e-05/0.01347, allocations: 133.7 kB / 230.3 MB, free: 7.461 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.394e-05/0.01354, allocations: 134.2 kB / 230.4 MB, free: 7.293 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.684e-05/0.01364, allocations: 134.8 kB / 230.5 MB, free: 7.137 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.01364, allocations: 0 / 230.5 MB, free: 7.137 MB / 234.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.00016/0.0138, allocations: 184.8 kB / 230.7 MB, free: 6.938 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.01382, allocations: 29.7 kB / 230.7 MB, free: 6.902 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.01383, allocations: 4 kB / 230.7 MB, free: 6.898 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.01383, allocations: 3.938 kB / 230.7 MB, free: 6.895 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.01396, allocations: 60.09 kB / 230.8 MB, free: 6.836 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01397, allocations: 7.984 kB / 230.8 MB, free: 6.828 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.598e-05/0.01405, allocations: 27.88 kB / 230.8 MB, free: 6.801 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.01406, allocations: 12 kB / 230.8 MB, free: 6.789 MB / 234.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.0001025/0.01417, allocations: 192.2 kB / 231 MB, free: 6.594 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.01419, allocations: 15.92 kB / 231 MB, free: 6.578 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.01423, allocations: 29.45 kB / 231.1 MB, free: 6.555 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01423, allocations: 0 / 231.1 MB, free: 6.555 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.01423, allocations: 0 / 231.1 MB, free: 6.555 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.01423, allocations: 7.938 kB / 231.1 MB, free: 6.547 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.01437, allocations: 129.7 kB / 231.2 MB, free: 6.402 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01437, allocations: 0 / 231.2 MB, free: 6.402 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.01449, allocations: 47.95 kB / 231.3 MB, free: 6.355 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.01451, allocations: 15.91 kB / 231.3 MB, free: 6.34 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01451, allocations: 3.938 kB / 231.3 MB, free: 6.336 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01452, allocations: 4 kB / 231.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01453, allocations: 0 / 231.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01453, allocations: 0 / 231.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.01473, allocations: 149 kB / 231.4 MB, free: 6.168 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.01475, allocations: 0 / 231.4 MB, free: 6.168 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.01482, allocations: 19.92 kB / 231.4 MB, free: 6.148 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.01488, allocations: 19.97 kB / 231.5 MB, free: 6.129 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01488, allocations: 4 kB / 231.5 MB, free: 6.125 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.925e-05/0.01495, allocations: 66.03 kB / 231.5 MB, free: 6.059 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01495, allocations: 4 kB / 231.5 MB, free: 6.055 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.0152, allocations: 103.7 kB / 231.6 MB, free: 5.953 MB / 234.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.0001365/0.01534, allocations: 88.44 kB / 231.7 MB, free: 5.855 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.01567, allocations: 307.6 kB / 232 MB, free: 5.512 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/0.01568, allocations: 8 kB / 232 MB, free: 5.504 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.01575, allocations: 40.78 kB / 232.1 MB, free: 5.461 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.0161, allocations: 463 kB / 232.5 MB, free: 4.926 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.01756, allocations: 403 kB / 232.9 MB, free: 4.508 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.203e-05/0.01762, allocations: 88.25 kB / 233 MB, free: 4.402 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 9.291e-05/0.01771, allocations: 21.94 kB / 233 MB, free: 4.383 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.01785, allocations: 103.3 kB / 233.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01785, allocations: 4 kB / 233.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of Templates: time 0.006399/0.02425, allocations: 3.545 MB / 236.7 MB, free: 0.7461 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.629850661382079]