Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 81.58 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 151 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 319 MB, free: 3.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.262e-05, allocations: 3.281 kB / 319 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003178/0.003201, allocations: 2.676 MB / 321.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.004254, allocations: 0.6898 MB / 322.3 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.004411, allocations: 3.406 kB / 322.3 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.004573, allocations: 46.45 kB / 322.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.004756, allocations: 103 kB / 322.5 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.005032, allocations: 117.9 kB / 322.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.005403, allocations: 409.5 kB / 323 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.00558, allocations: 80.23 kB / 323.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.005861, allocations: 227.4 kB / 323.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.00605, allocations: 125.3 kB / 323.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/0.006107, allocations: 37.88 kB / 323.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.006168, allocations: 42.41 kB / 323.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.006231, allocations: 76.47 kB / 323.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.006359, allocations: 117.4 kB / 323.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.006797, allocations: 438.6 kB / 324.1 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.0068, allocations: 4 kB / 324.1 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006801, allocations: 0 / 324.1 MB, free: 368 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.006808, allocations: 4.703 kB / 324.1 MB, free: 364 kB / 286.1 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.001242/0.008049, allocations: 0.5824 MB / 324.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.008081, allocations: 8.25 kB / 324.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.817e-05/0.008159, allocations: 41.2 kB / 324.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.008562, allocations: 226.2 kB / 325 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.008582, allocations: 19.88 kB / 325 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.00864, allocations: 20.11 kB / 325 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.009476, allocations: 342.7 kB / 325.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.00949, allocations: 1.188 kB / 325.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.009523, allocations: 15.44 kB / 325.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.009532, allocations: 8.281 kB / 325.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/0.01037, allocations: 270.1 kB / 325.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.01224, allocations: 0.9589 MB / 326.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/0.01321, allocations: 251.6 kB / 326.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.01357, allocations: 93.58 kB / 326.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.01359, allocations: 2.828 kB / 326.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/0.01409, allocations: 197.6 kB / 327.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.01409, allocations: 0 / 327.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001185/0.01528, allocations: 315.1 kB / 327.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.01534, allocations: 82.06 kB / 327.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.01568, allocations: 256.3 kB / 327.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.01572, allocations: 30.8 kB / 327.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.01589, allocations: 194.3 kB / 328 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.01594, allocations: 45.78 kB / 328 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.01605, allocations: 46.05 kB / 328.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.01623, allocations: 331.5 kB / 328.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.01664, allocations: 135.3 kB / 328.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.01711, allocations: 239.5 kB / 328.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.01791, allocations: 312.9 kB / 329.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01792, allocations: 1.094 kB / 329.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001029/0.01895, allocations: 393 kB / 329.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.019, allocations: 34.09 kB / 329.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.01901, allocations: 3.188 kB / 329.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.01904, allocations: 4.328 kB / 329.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.01936, allocations: 69.27 kB / 329.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.01937, allocations: 8.938 kB / 329.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.01979, allocations: 51.59 kB / 329.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.01984, allocations: 18.47 kB / 329.6 MB, free: 12.84 MB / 302.1 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 0.0002561/0.0201, allocations: 149.7 kB / 329.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.02016, allocations: 26.45 kB / 329.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.02033, allocations: 25.52 kB / 329.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.02033, allocations: 2.188 kB / 329.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.02034, allocations: 3.938 kB / 329.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.02035, allocations: 1.828 kB / 329.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.02065, allocations: 217.9 kB / 330.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02065, allocations: 0.8438 kB / 330.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.02093, allocations: 49.05 kB / 330.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.02093, allocations: 1.188 kB / 330.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.02095, allocations: 7.297 kB / 330.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02095, allocations: 0 / 330.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02095, allocations: 1.406 kB / 330.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.02212, allocations: 369.4 kB / 330.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.02217, allocations: 23.88 kB / 330.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.02221, allocations: 1.875 kB / 330.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.02246, allocations: 39.33 kB / 330.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.02255, allocations: 15.72 kB / 330.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.02256, allocations: 8.328 kB / 330.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.02278, allocations: 187 kB / 330.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02278, allocations: 0 / 330.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.0231, allocations: 62.7 kB / 330.8 MB, free: 12.16 MB / 302.1 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 0.0001586/0.02326, allocations: 102.4 kB / 330.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000924/0.02418, allocations: 310.8 kB / 331.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02418, allocations: 0 / 331.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.02456, allocations: 99.75 kB / 331.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.0249, allocations: 54.39 kB / 331.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.02617, allocations: 495.8 kB / 331.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.02636, allocations: 143 kB / 332 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.02647, allocations: 25.77 kB / 332 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.02656, allocations: 21.5 kB / 332 MB, free: 11.46 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02656, allocations: 0 / 332 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Templates: time 0.008058/0.03462, allocations: 3.099 MB / 335.1 MB, free: 9.902 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.403532989323139]