Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.0015/0.0015, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 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.001645/0.001645, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.4 MB / 255.4 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 72.06 kB / 374.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1153, allocations: 53.32 MB / 428.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004939/0.1203, allocations: 2.877 MB / 431 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1221, allocations: 0.7673 MB / 431.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.1224, allocations: 4 kB / 431.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1227, allocations: 47.56 kB / 431.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005145/0.1232, allocations: 103.2 kB / 431.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.1237, allocations: 107.8 kB / 432 MB, free: 440 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007378/0.1245, allocations: 390.5 kB / 432.4 MB, free: 48 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2283/0.3528, allocations: 93.73 kB / 432.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.3535, allocations: 151 kB / 432.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.3539, allocations: 167.1 kB / 432.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.354, allocations: 38.47 kB / 432.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.3542, allocations: 37.75 kB / 432.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3543, allocations: 78.34 kB / 432.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.3546, allocations: 170 kB / 433.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.3552, allocations: 423.4 kB / 433.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3552, allocations: 0.9375 kB / 433.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3552, allocations: 3.938 kB / 433.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3552, allocations: 0.9062 kB / 433.5 MB, free: 8.09 MB / 350.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.001278/0.3565, allocations: 0.6628 MB / 434.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3565, allocations: 11.56 kB / 434.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/0.3566, allocations: 40.14 kB / 434.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.357, allocations: 284.9 kB / 434.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.357, allocations: 18.31 kB / 434.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.3571, allocations: 22.44 kB / 434.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.3578, allocations: 319.6 kB / 434.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3578, allocations: 3.938 kB / 434.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.3578, allocations: 10.22 kB / 434.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3578, allocations: 7.219 kB / 434.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.3585, allocations: 275.6 kB / 435.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.3601, allocations: 1.112 MB / 436.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/0.3611, allocations: 238.1 kB / 436.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.3614, allocations: 96.14 kB / 436.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.3614, allocations: 3 kB / 436.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004566/0.3619, allocations: 177.8 kB / 436.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.3619, allocations: 4 kB / 436.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001089/0.363, allocations: 308.8 kB / 437.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.363, allocations: 80.48 kB / 437.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.3633, allocations: 269.4 kB / 437.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3633, allocations: 34.97 kB / 437.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3634, allocations: 197.5 kB / 437.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.3635, allocations: 40.22 kB / 437.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.3636, allocations: 53.66 kB / 437.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.3636, allocations: 345.6 kB / 438.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.364, allocations: 99.05 kB / 438.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.3644, allocations: 186.7 kB / 438.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/0.3651, allocations: 301.9 kB / 438.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3651, allocations: 1 kB / 438.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008892/0.366, allocations: 367.7 kB / 439 MB, free: 5.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.366, allocations: 33.98 kB / 439 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.366, allocations: 3.094 kB / 439 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.366, allocations: 7.812 kB / 439 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.3663, allocations: 68.14 kB / 439.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3663, allocations: 4.547 kB / 439.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.3667, allocations: 53.8 kB / 439.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.3667, allocations: 14.61 kB / 439.2 MB, free: 5.512 MB / 350.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.0001173/0.3668, allocations: 144.6 kB / 439.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.3668, allocations: 22.78 kB / 439.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.3669, allocations: 29.81 kB / 439.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3669, allocations: 1.031 kB / 439.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3669, allocations: 0.7969 kB / 439.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3669, allocations: 1.672 kB / 439.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.3672, allocations: 318.3 kB / 439.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3672, allocations: 0.6562 kB / 439.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.3675, allocations: 50.31 kB / 439.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3675, allocations: 0.75 kB / 439.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3675, allocations: 2.75 kB / 439.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3675, allocations: 0 / 439.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3675, allocations: 2.625 kB / 439.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3685, allocations: 375.8 kB / 440.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.3686, allocations: 100.8 kB / 440.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.3686, allocations: 2.672 kB / 440.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3689, allocations: 30.53 kB / 440.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.3689, allocations: 17.69 kB / 440.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3689, allocations: 3.094 kB / 440.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.3691, allocations: 195.5 kB / 440.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3691, allocations: 4 kB / 440.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.3695, allocations: 66.97 kB / 440.5 MB, free: 4.859 MB / 350.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.0001347/0.3696, allocations: 103.4 kB / 440.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008392/0.3704, allocations: 288.7 kB / 440.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3704, allocations: 3.562 kB / 440.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.3708, allocations: 95.25 kB / 441 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3711, allocations: 53.31 kB / 441.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3723, allocations: 0.5607 MB / 441.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.3725, allocations: 0.7497 MB / 442.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.475e-05/0.3725, allocations: 22.19 kB / 442.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3725, allocations: 1.375 kB / 442.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of Templates: time 0.007339/0.3799, allocations: 3.36 MB / 445.8 MB, free: 3.285 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.205126289976761]