Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009134/0.0009134, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001998, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007078/0.0007078, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009133/0.001621, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9036/0.9036, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08511/0.9887, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 244.8 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.147e-06/1.036e-05, allocations: 2.312 kB / 244.8 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003203/0.003214, allocations: 2.908 MB / 247.7 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.004144, allocations: 0.767 MB / 248.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.004248, allocations: 4 kB / 248.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.59e-05/0.004343, allocations: 47.45 kB / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.004474, allocations: 111.2 kB / 248.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.004638, allocations: 119.7 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.004921, allocations: 398.3 kB / 249.1 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.005062, allocations: 90.28 kB / 249.2 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.005345, allocations: 271.8 kB / 249.4 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.005487, allocations: 135.6 kB / 249.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.005525, allocations: 36 kB / 249.6 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.895e-05/0.005564, allocations: 44 kB / 249.7 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.005607, allocations: 55.81 kB / 249.7 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.652e-05/0.005683, allocations: 95.81 kB / 249.8 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.005911, allocations: 227.2 kB / 250 MB, free: 8.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.005921, allocations: 0 / 250 MB, free: 8.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005922, allocations: 0 / 250 MB, free: 8.879 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.00593, allocations: 0 / 250 MB, free: 8.879 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000777/0.006707, allocations: 0.6037 MB / 250.6 MB, free: 8.242 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.006737, allocations: 12.03 kB / 250.6 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.006801, allocations: 40.91 kB / 250.7 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.007002, allocations: 182.2 kB / 250.9 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.007018, allocations: 16.88 kB / 250.9 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.007049, allocations: 24.38 kB / 250.9 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.007429, allocations: 265.6 kB / 251.2 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.007437, allocations: 192 / 251.2 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.007453, allocations: 12.38 kB / 251.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.007462, allocations: 11.94 kB / 251.2 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.007554, allocations: 63.41 kB / 251.2 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.008367, allocations: 0.7717 MB / 252 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.008564, allocations: 98.45 kB / 252.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.008598, allocations: 24.8 kB / 252.1 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.008619, allocations: 4 kB / 252.1 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.008758, allocations: 130.7 kB / 252.3 MB, free: 6.473 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.008759, allocations: 4 kB / 252.3 MB, free: 6.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001477/0.008907, allocations: 89.66 kB / 252.4 MB, free: 6.375 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.008933, allocations: 55.41 kB / 252.4 MB, free: 6.309 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.009056, allocations: 236.8 kB / 252.6 MB, free: 6.066 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.009073, allocations: 29.69 kB / 252.7 MB, free: 6.031 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.00915, allocations: 191.9 kB / 252.9 MB, free: 5.836 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.009182, allocations: 39.67 kB / 252.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.009237, allocations: 49.64 kB / 252.9 MB, free: 5.742 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.009321, allocations: 338.8 kB / 253.3 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.00937, allocations: 49.92 kB / 253.3 MB, free: 5.344 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-05/0.009464, allocations: 163 kB / 253.5 MB, free: 5.133 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.009804, allocations: 167.8 kB / 253.7 MB, free: 4.926 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.009813, allocations: 11.97 kB / 253.7 MB, free: 4.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002073/0.01002, allocations: 204.7 kB / 253.9 MB, free: 4.695 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.01007, allocations: 37.7 kB / 253.9 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.01007, allocations: 4 kB / 253.9 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.01009, allocations: 7.984 kB / 253.9 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.01031, allocations: 72.23 kB / 254 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01031, allocations: 4 kB / 254 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01042, allocations: 39.81 kB / 254 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01043, allocations: 12 kB / 254 MB, free: 4.516 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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 8.574e-05/0.01052, allocations: 129.7 kB / 254.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.01054, allocations: 15.98 kB / 254.2 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.01057, allocations: 25.77 kB / 254.2 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01057, allocations: 8 kB / 254.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01058, allocations: 0 / 254.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01058, allocations: 0 / 254.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.01069, allocations: 149.7 kB / 254.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01069, allocations: 0 / 254.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.0108, allocations: 47.83 kB / 254.4 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.01082, allocations: 15.91 kB / 254.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.01082, allocations: 0 / 254.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01083, allocations: 0 / 254.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.01083, allocations: 4 kB / 254.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01083, allocations: 4 kB / 254.4 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.011, allocations: 137.3 kB / 254.6 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.01101, allocations: 4 kB / 254.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.0111, allocations: 19.98 kB / 254.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.01114, allocations: 19.97 kB / 254.6 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.01114, allocations: 0 / 254.6 MB, free: 3.902 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.546e-05/0.0112, allocations: 78.78 kB / 254.7 MB, free: 3.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0112, allocations: 0 / 254.7 MB, free: 3.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.01134, allocations: 63.92 kB / 254.7 MB, free: 3.758 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: 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 (12): * Single equations (assignments): 10 * 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.058e-05/0.01141, allocations: 88.34 kB / 254.8 MB, free: 3.664 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.01158, allocations: 181.4 kB / 255 MB, free: 3.469 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.01159, allocations: 4 kB / 255 MB, free: 3.465 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.01165, allocations: 48.83 kB / 255.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.01195, allocations: 0.4898 MB / 255.5 MB, free: 2.84 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.01342, allocations: 464.5 kB / 256 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.01346, allocations: 80.31 kB / 256.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.82e-05/0.01353, allocations: 22.3 kB / 256.1 MB, free: 2.242 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.01365, allocations: 103.3 kB / 256.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01365, allocations: 0 / 256.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of Templates: time 0.005238/0.01889, allocations: 3.477 MB / 259.7 MB, free: 14.74 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.3969410425052047]