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.0009525/0.0009525, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001859/0.002811, allocations: 445.7 kB / 10.37 MB, free: 328 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.001034/0.001034, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002388, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8804/0.8804, allocations: 158.6 MB / 171.1 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1384/1.019, allocations: 49.49 MB / 220.6 MB, free: 1.449 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.332e-06/1.332e-06, allocations: 0 / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.196e-05, allocations: 2.312 kB / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002368/0.00238, allocations: 2.627 MB / 224.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000913/0.003293, allocations: 0.7251 MB / 225.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.003395, allocations: 4 kB / 225.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.147e-05/0.003466, allocations: 39.58 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.003591, allocations: 87.27 kB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.003767, allocations: 91.77 kB / 225.4 MB, free: 12.53 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.004035, allocations: 338.6 kB / 225.8 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004158, allocations: 58.88 kB / 225.8 MB, free: 12.14 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.0044, allocations: 233.1 kB / 226.1 MB, free: 11.92 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.004511, allocations: 103.6 kB / 226.2 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.004545, allocations: 28 kB / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.631e-05/0.004571, allocations: 28 kB / 226.2 MB, free: 11.76 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.004608, allocations: 43.88 kB / 226.3 MB, free: 11.72 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.004674, allocations: 75.81 kB / 226.3 MB, free: 11.64 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.004867, allocations: 183.4 kB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.00488, allocations: 0 / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004881, allocations: 0 / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.004894, allocations: 0 / 226.5 MB, free: 11.46 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.0007165/0.005611, allocations: 0.5448 MB / 227.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.005641, allocations: 12.03 kB / 227.1 MB, free: 10.88 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.005708, allocations: 40.84 kB / 227.1 MB, free: 10.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.005908, allocations: 169.4 kB / 227.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.005922, allocations: 16.75 kB / 227.3 MB, free: 10.63 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.005953, allocations: 24.36 kB / 227.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.006202, allocations: 190.1 kB / 227.5 MB, free: 10.41 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.006212, allocations: 192 / 227.5 MB, free: 10.41 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.006226, allocations: 12.38 kB / 227.5 MB, free: 10.4 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.006235, allocations: 11.94 kB / 227.5 MB, free: 10.39 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.648e-05/0.006322, allocations: 55.72 kB / 227.6 MB, free: 10.33 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006572/0.006979, allocations: 0.5223 MB / 228.1 MB, free: 9.773 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.007186, allocations: 106.5 kB / 228.2 MB, free: 9.66 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.007218, allocations: 20.86 kB / 228.2 MB, free: 9.637 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.007239, allocations: 4 kB / 228.2 MB, free: 9.633 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.007373, allocations: 126.7 kB / 228.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 8.91e-07/0.007374, allocations: 0 / 228.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001534/0.007527, allocations: 97.59 kB / 228.4 MB, free: 9.383 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.00756, allocations: 59.41 kB / 228.5 MB, free: 9.312 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.007675, allocations: 210.2 kB / 228.7 MB, free: 9.094 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.007692, allocations: 29.7 kB / 228.7 MB, free: 9.059 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.007758, allocations: 167.8 kB / 228.9 MB, free: 8.891 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.007787, allocations: 47.62 kB / 229 MB, free: 8.844 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.007833, allocations: 41.69 kB / 229 MB, free: 8.797 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.582e-05/0.007909, allocations: 334.7 kB / 229.3 MB, free: 8.461 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.007956, allocations: 54.55 kB / 229.4 MB, free: 8.398 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.008025, allocations: 134.2 kB / 229.5 MB, free: 8.23 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.008125, allocations: 131.6 kB / 229.6 MB, free: 8.074 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.008128, allocations: 4 kB / 229.6 MB, free: 8.07 MB / 234.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001439/0.008272, allocations: 183.6 kB / 229.8 MB, free: 7.875 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.008302, allocations: 37.7 kB / 229.9 MB, free: 7.832 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008308, allocations: 4 kB / 229.9 MB, free: 7.828 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.008317, allocations: 0 / 229.9 MB, free: 7.828 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.008488, allocations: 68.08 kB / 229.9 MB, free: 7.762 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.008493, allocations: 7.922 kB / 229.9 MB, free: 7.754 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.008599, allocations: 31.88 kB / 230 MB, free: 7.723 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.008612, allocations: 8 kB / 230 MB, free: 7.715 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.539e-05/0.008687, allocations: 133.7 kB / 230.1 MB, free: 7.574 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.384e-05/0.008751, allocations: 126.2 kB / 230.2 MB, free: 7.414 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.504e-05/0.008836, allocations: 127.6 kB / 230.3 MB, free: 7.262 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.008838, allocations: 4 kB / 230.4 MB, free: 7.258 MB / 234.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001352/0.008973, allocations: 179.7 kB / 230.5 MB, free: 7.066 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.008992, allocations: 33.7 kB / 230.6 MB, free: 7.027 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/0.008995, allocations: 3.984 kB / 230.6 MB, free: 7.023 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/0.009, allocations: 7.938 kB / 230.6 MB, free: 7.016 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.009113, allocations: 60.09 kB / 230.6 MB, free: 6.957 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.009116, allocations: 4 kB / 230.6 MB, free: 6.953 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.009193, allocations: 31.88 kB / 230.7 MB, free: 6.922 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.009199, allocations: 4 kB / 230.7 MB, free: 6.918 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 7.249e-05/0.009272, allocations: 190.2 kB / 230.9 MB, free: 6.727 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.009292, allocations: 23.92 kB / 230.9 MB, free: 6.703 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.009321, allocations: 21.45 kB / 230.9 MB, free: 6.684 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009323, allocations: 0 / 230.9 MB, free: 6.684 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.009324, allocations: 8 kB / 230.9 MB, free: 6.676 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.009327, allocations: 0 / 230.9 MB, free: 6.676 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.009438, allocations: 141.7 kB / 231 MB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.00944, allocations: 0 / 231 MB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.009555, allocations: 47.97 kB / 231.1 MB, free: 6.473 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.009575, allocations: 15.89 kB / 231.1 MB, free: 6.457 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009578, allocations: 3.938 kB / 231.1 MB, free: 6.453 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.009587, allocations: 0 / 231.1 MB, free: 6.453 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.009588, allocations: 4 kB / 231.1 MB, free: 6.449 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00959, allocations: 4 kB / 231.1 MB, free: 6.445 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.009744, allocations: 139.2 kB / 231.3 MB, free: 6.293 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.009766, allocations: 7.984 kB / 231.3 MB, free: 6.285 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.009833, allocations: 23.92 kB / 231.3 MB, free: 6.262 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.009881, allocations: 15.97 kB / 231.3 MB, free: 6.246 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.009888, allocations: 0 / 231.3 MB, free: 6.246 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.364e-05/0.009941, allocations: 70.28 kB / 231.4 MB, free: 6.176 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009941, allocations: 0 / 231.4 MB, free: 6.176 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.01014, allocations: 107.7 kB / 231.5 MB, free: 6.07 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 8.692e-05/0.01023, allocations: 80.45 kB / 231.6 MB, free: 5.98 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.0105, allocations: 312.1 kB / 231.9 MB, free: 5.633 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.0105, allocations: 0 / 231.9 MB, free: 5.633 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.01056, allocations: 36.78 kB / 231.9 MB, free: 5.594 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.01071, allocations: 61.45 kB / 232 MB, free: 5.535 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.01207, allocations: 410.9 kB / 232.4 MB, free: 5.109 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.01211, allocations: 76.33 kB / 232.4 MB, free: 5.016 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.01219, allocations: 25.94 kB / 232.5 MB, free: 4.992 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.01231, allocations: 95.34 kB / 232.5 MB, free: 4.898 MB / 234.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01231, allocations: 4 kB / 232.6 MB, free: 4.895 MB / 234.7 MB Notification: Performance of Templates: time 0.004653/0.01697, allocations: 3.456 MB / 236 MB, free: 1.449 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.596172478981316]