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.001947/0.001947, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002127/0.002127, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.492/1.492, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 1.613e-06/1.613e-06, allocations: 0 / 325.1 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.519e-05, allocations: 2.281 kB / 325.1 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004329/0.004354, allocations: 2.716 MB / 327.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.005914, allocations: 0.6982 MB / 328.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.006069, allocations: 3.938 kB / 328.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.006251, allocations: 50.06 kB / 328.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.006489, allocations: 112.9 kB / 328.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.006791, allocations: 94.72 kB / 328.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.007275, allocations: 407.2 kB / 329.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.00749, allocations: 80.23 kB / 329.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.007917, allocations: 235.4 kB / 329.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.00814, allocations: 121.9 kB / 329.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.008203, allocations: 38.84 kB / 329.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.627e-05/0.00827, allocations: 38.84 kB / 329.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.008364, allocations: 84.44 kB / 329.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.008541, allocations: 118.8 kB / 329.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.009103, allocations: 440.1 kB / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.009106, allocations: 0 / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.009107, allocations: 0 / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.009114, allocations: 5.062 kB / 330.3 MB, free: 13.22 MB / 302.1 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.001277/0.01039, allocations: 0.5756 MB / 330.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.01043, allocations: 13.73 kB / 330.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.01052, allocations: 33.88 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.01099, allocations: 246.7 kB / 331.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.01102, allocations: 22.77 kB / 331.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.01108, allocations: 25.25 kB / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.01176, allocations: 324.3 kB / 331.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.01178, allocations: 4.125 kB / 331.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.01181, allocations: 10.44 kB / 331.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.01182, allocations: 9.844 kB / 331.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007006/0.01252, allocations: 251.5 kB / 331.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.01438, allocations: 0.8974 MB / 332.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007815/0.01517, allocations: 207.6 kB / 332.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.01547, allocations: 91.05 kB / 332.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.0155, allocations: 1.125 kB / 332.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005139/0.01601, allocations: 222.1 kB / 333.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.01601, allocations: 1.125 kB / 333.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009816/0.01699, allocations: 293.3 kB / 333.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.01708, allocations: 106.7 kB / 333.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.0174, allocations: 262.7 kB / 333.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.01743, allocations: 27.05 kB / 333.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.0176, allocations: 197.2 kB / 334 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.447e-05/0.01768, allocations: 50.81 kB / 334.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.01784, allocations: 48.47 kB / 334.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.01803, allocations: 331.5 kB / 334.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.01847, allocations: 121.9 kB / 334.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.01889, allocations: 265.4 kB / 334.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.01951, allocations: 282.3 kB / 335.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01951, allocations: 1.406 kB / 335.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001027/0.02054, allocations: 365.3 kB / 335.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.02059, allocations: 41.38 kB / 335.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.0206, allocations: 2.562 kB / 335.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.02062, allocations: 3.469 kB / 335.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.02089, allocations: 58.67 kB / 335.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.0209, allocations: 7.938 kB / 335.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.02122, allocations: 49.44 kB / 335.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.02126, allocations: 12.38 kB / 335.6 MB, free: 9.016 MB / 302.1 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 0.0002261/0.02148, allocations: 150.9 kB / 335.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.02153, allocations: 31.39 kB / 335.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.02159, allocations: 22.47 kB / 335.8 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.0216, allocations: 2.031 kB / 335.8 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.02161, allocations: 4 kB / 335.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.02161, allocations: 9.078 kB / 335.9 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.02189, allocations: 213.8 kB / 336.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02189, allocations: 1.406 kB / 336.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.02212, allocations: 42.14 kB / 336.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.02212, allocations: 0.9688 kB / 336.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.02214, allocations: 0.9688 kB / 336.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.02215, allocations: 5.25 kB / 336.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02215, allocations: 0 / 336.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.02325, allocations: 348.7 kB / 336.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.0233, allocations: 22 kB / 336.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.02334, allocations: 10.5 kB / 336.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.02357, allocations: 26.59 kB / 336.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.02366, allocations: 22 kB / 336.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.02367, allocations: 3.875 kB / 336.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.02393, allocations: 185.4 kB / 336.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02393, allocations: 1.219 kB / 336.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.02426, allocations: 68.62 kB / 336.8 MB, free: 8.211 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: 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 0.0001561/0.02442, allocations: 107.4 kB / 336.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008499/0.02527, allocations: 297.6 kB / 337.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.02527, allocations: 0 / 337.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.02559, allocations: 90.12 kB / 337.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.02595, allocations: 51.05 kB / 337.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.02779, allocations: 0.5385 MB / 337.9 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.02796, allocations: 143.5 kB / 338 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.02808, allocations: 28.72 kB / 338 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.02816, allocations: 26.38 kB / 338 MB, free: 7.344 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.02816, allocations: 0 / 338 MB, free: 7.344 MB / 302.1 MB Notification: Performance of Templates: time 0.008189/0.03635, allocations: 3.351 MB / 341.4 MB, free: 4.215 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.3644299656152725]