Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007902/0.0007902, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.00197, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007043/0.0007043, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009182/0.001623, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9858/0.9858, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.097, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.618e-05, allocations: 5.406 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004369/0.004385, allocations: 2.94 MB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.006148, allocations: 0.7204 MB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.006329, allocations: 7.938 kB / 248.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.006465, allocations: 47.56 kB / 249 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.006705, allocations: 111.1 kB / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.00698, allocations: 99.7 kB / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.007533, allocations: 398.3 kB / 249.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.007732, allocations: 90.28 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.008219, allocations: 279.8 kB / 249.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.008449, allocations: 135.6 kB / 250.1 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.008509, allocations: 36 kB / 250.1 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.818e-05/0.008568, allocations: 40 kB / 250.1 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.008631, allocations: 55.81 kB / 250.2 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.008752, allocations: 99.81 kB / 250.3 MB, free: 8.469 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.009072, allocations: 227.2 kB / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.009084, allocations: 0 / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.009085, allocations: 0 / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.009104, allocations: 0 / 250.5 MB, free: 8.246 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.000997/0.0101, allocations: 0.6113 MB / 251.1 MB, free: 7.602 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.01014, allocations: 8.922 kB / 251.1 MB, free: 7.594 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.422e-05/0.01023, allocations: 44.91 kB / 251.2 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.01051, allocations: 185.1 kB / 251.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.01054, allocations: 20.88 kB / 251.4 MB, free: 7.324 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.01058, allocations: 28.38 kB / 251.4 MB, free: 7.297 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.01094, allocations: 252.6 kB / 251.6 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.01095, allocations: 192 / 251.6 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.01097, allocations: 12.38 kB / 251.7 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01098, allocations: 7.938 kB / 251.7 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.01114, allocations: 63.47 kB / 251.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.01233, allocations: 0.7316 MB / 252.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.01257, allocations: 90.47 kB / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.01262, allocations: 28.84 kB / 252.6 MB, free: 6.035 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.01264, allocations: 0 / 252.6 MB, free: 6.035 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.01284, allocations: 165.2 kB / 252.7 MB, free: 5.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.01284, allocations: 8 kB / 252.7 MB, free: 5.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002215/0.01306, allocations: 104.5 kB / 252.8 MB, free: 5.727 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.01309, allocations: 51.41 kB / 252.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.01328, allocations: 240.9 kB / 253.1 MB, free: 5.418 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.01331, allocations: 29.7 kB / 253.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01341, allocations: 188 kB / 253.3 MB, free: 5.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.01345, allocations: 47.58 kB / 253.4 MB, free: 5.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.01353, allocations: 49.92 kB / 253.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.01363, allocations: 338.7 kB / 253.8 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.0137, allocations: 49.92 kB / 253.8 MB, free: 4.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.01384, allocations: 196.6 kB / 254 MB, free: 4.445 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.01403, allocations: 175 kB / 254.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.01404, allocations: 7.938 kB / 254.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000179/0.01422, allocations: 215.8 kB / 254.4 MB, free: 4 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.01425, allocations: 37.69 kB / 254.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01425, allocations: 0 / 254.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01427, allocations: 7.938 kB / 254.4 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01444, allocations: 71.89 kB / 254.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01445, allocations: 16.23 kB / 254.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01456, allocations: 39.81 kB / 254.6 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01457, allocations: 4 kB / 254.6 MB, free: 3.82 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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.448e-05/0.01464, allocations: 129.7 kB / 254.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.01467, allocations: 19.97 kB / 254.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.0147, allocations: 21.78 kB / 254.7 MB, free: 3.641 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.0147, allocations: 7.984 kB / 254.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.0147, allocations: 0 / 254.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.0147, allocations: 4 kB / 254.7 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.01481, allocations: 145.7 kB / 254.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01481, allocations: 0 / 254.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.01492, allocations: 43.91 kB / 254.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.01495, allocations: 27.78 kB / 255 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.01495, allocations: 0 / 255 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01496, allocations: 0 / 255 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01496, allocations: 4 kB / 255 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01496, allocations: 0 / 255 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.01513, allocations: 148.9 kB / 255.1 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.01515, allocations: 8.031 kB / 255.1 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.01522, allocations: 23.97 kB / 255.1 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.01527, allocations: 19.97 kB / 255.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.01527, allocations: 4 kB / 255.2 MB, free: 3.176 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.623e-05/0.01533, allocations: 74.78 kB / 255.2 MB, free: 3.102 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01533, allocations: 0 / 255.2 MB, free: 3.102 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.01549, allocations: 71.84 kB / 255.3 MB, free: 3.031 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.66e-05/0.01558, allocations: 88.41 kB / 255.4 MB, free: 2.938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.01574, allocations: 185.7 kB / 255.6 MB, free: 2.734 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.01575, allocations: 4 kB / 255.6 MB, free: 2.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.01582, allocations: 56.52 kB / 255.6 MB, free: 2.676 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.0161, allocations: 497.9 kB / 256.1 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.01758, allocations: 0.5003 MB / 256.6 MB, free: 1.574 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.01762, allocations: 88.17 kB / 256.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.297e-05/0.01769, allocations: 30.28 kB / 256.7 MB, free: 1.441 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.01783, allocations: 103.3 kB / 256.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01783, allocations: 0 / 256.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of Templates: time 0.005897/0.02373, allocations: 3.774 MB / 260.6 MB, free: 13.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.565576622262597]