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.001818/0.001818, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002222/0.002222, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.48/1.48, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.002675/0.002675, allocations: 71.88 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2946, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004427/0.2991, allocations: 2.91 MB / 435 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3004, allocations: 0.7596 MB / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.3006, allocations: 4 kB / 435.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.3007, allocations: 47.56 kB / 435.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.3009, allocations: 99.19 kB / 435.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.3012, allocations: 111.8 kB / 436 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.3017, allocations: 394.5 kB / 436.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.3019, allocations: 91.25 kB / 436.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.3022, allocations: 163.3 kB / 436.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.3024, allocations: 163.3 kB / 436.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.3024, allocations: 40 kB / 436.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.3025, allocations: 40 kB / 436.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.3026, allocations: 75.77 kB / 437 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.3027, allocations: 167.2 kB / 437.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.3032, allocations: 420.4 kB / 437.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3032, allocations: 0 / 437.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3032, allocations: 4 kB / 437.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3032, allocations: 0 / 437.5 MB, free: 1.906 MB / 334.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.001336/0.3046, allocations: 0.6728 MB / 438.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3046, allocations: 8.031 kB / 438.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.3047, allocations: 32.75 kB / 438.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.3051, allocations: 296.8 kB / 438.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.3052, allocations: 16.94 kB / 438.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.3052, allocations: 24.38 kB / 438.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.306, allocations: 319.9 kB / 438.9 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.306, allocations: 0 / 438.9 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.306, allocations: 19.98 kB / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.306, allocations: 4 kB / 438.9 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/0.3068, allocations: 266.1 kB / 439.2 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.3087, allocations: 1.123 MB / 440.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/0.3096, allocations: 238.5 kB / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.31, allocations: 96.78 kB / 440.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.31, allocations: 0 / 440.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004709/0.3105, allocations: 176.9 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3105, allocations: 0 / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001147/0.3116, allocations: 321.2 kB / 441.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.3117, allocations: 77.11 kB / 441.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.312, allocations: 266.6 kB / 441.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.312, allocations: 25.7 kB / 441.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.3122, allocations: 203.9 kB / 441.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.3122, allocations: 43.64 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.3123, allocations: 45.7 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3125, allocations: 334.8 kB / 442.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.3128, allocations: 108.1 kB / 442.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.3133, allocations: 191.5 kB / 442.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.314, allocations: 304.6 kB / 442.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.314, allocations: 0 / 442.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009552/0.315, allocations: 369.5 kB / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.315, allocations: 34.03 kB / 443.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.315, allocations: 8 kB / 443.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3151, allocations: 4 kB / 443.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.3154, allocations: 63.89 kB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3154, allocations: 4 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.3157, allocations: 55.73 kB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3157, allocations: 16 kB / 443.2 MB, free: 11.84 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.0001516/0.3159, allocations: 145.7 kB / 443.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3159, allocations: 23.86 kB / 443.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.316, allocations: 25.7 kB / 443.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.316, allocations: 4 kB / 443.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.316, allocations: 0 / 443.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.316, allocations: 3.938 kB / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.3163, allocations: 309.5 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3163, allocations: 0 / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.3166, allocations: 47.91 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3166, allocations: 7.984 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3166, allocations: 0 / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3166, allocations: 0 / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3166, allocations: 0 / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.3177, allocations: 372.7 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.3178, allocations: 101 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.3178, allocations: 7.984 kB / 444.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.3181, allocations: 27.97 kB / 444.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.3181, allocations: 11.98 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3182, allocations: 11.92 kB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.3184, allocations: 193.9 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3184, allocations: 3.938 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.3187, allocations: 75.78 kB / 444.6 MB, free: 10.4 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.000141/0.3188, allocations: 99.25 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008609/0.3197, allocations: 283.2 kB / 444.9 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3197, allocations: 0 / 444.9 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.32, allocations: 104.3 kB / 445 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.3204, allocations: 61.22 kB / 445.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3216, allocations: 0.5286 MB / 445.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.322, allocations: 0.748 MB / 446.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.3221, allocations: 34.27 kB / 446.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.3222, allocations: 19.44 kB / 446.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3222, allocations: 0 / 446.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Templates: time 0.007489/0.3297, allocations: 3.119 MB / 449.5 MB, free: 5.383 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 -s cvode -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: 4.607026625890285]