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.001353/0.001353, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001518/0.001518, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.457/1.457, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.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 0.001872/0.001872, allocations: 55.91 kB / 379.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2599, allocations: 53.41 MB / 432.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004249/0.2642, allocations: 2.929 MB / 435.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2655, allocations: 0.7246 MB / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2656, allocations: 7.938 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2658, allocations: 47.56 kB / 436.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.2659, allocations: 99.19 kB / 436.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.2662, allocations: 95.84 kB / 436.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.2666, allocations: 394.5 kB / 436.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.2668, allocations: 87.67 kB / 436.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.2671, allocations: 167.4 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2673, allocations: 167.3 kB / 437.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.2674, allocations: 43.94 kB / 437.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.2674, allocations: 40 kB / 437.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.2675, allocations: 67.77 kB / 437.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.2677, allocations: 175.1 kB / 437.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.2682, allocations: 439.5 kB / 437.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2682, allocations: 0 / 437.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2682, allocations: 0 / 437.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.2682, allocations: 4 kB / 437.9 MB, free: 1.281 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001174/0.2694, allocations: 0.578 MB / 438.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2694, allocations: 8.031 kB / 438.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.2695, allocations: 36.69 kB / 438.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.2699, allocations: 249.7 kB / 438.8 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2699, allocations: 16.88 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.27, allocations: 28.38 kB / 438.8 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.2706, allocations: 272.3 kB / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2706, allocations: 0 / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.2706, allocations: 15.98 kB / 439.1 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.2706, allocations: 8 kB / 439.1 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.2713, allocations: 257.8 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.2731, allocations: 1.013 MB / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/0.2737, allocations: 210.6 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.274, allocations: 88.8 kB / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.274, allocations: 0 / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/0.2744, allocations: 169.8 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.193e-06/0.2744, allocations: 4 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008554/0.2753, allocations: 280.1 kB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.2753, allocations: 118.7 kB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.2756, allocations: 257.9 kB / 441.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2757, allocations: 25.7 kB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.2758, allocations: 204 kB / 441.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.2759, allocations: 51.56 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.276, allocations: 53.89 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2761, allocations: 338.8 kB / 442.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.2764, allocations: 92.17 kB / 442.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.2767, allocations: 180.2 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.2773, allocations: 277.7 kB / 442.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2773, allocations: 0 / 442.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007387/0.2781, allocations: 338.8 kB / 443 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.2781, allocations: 33.7 kB / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2781, allocations: 4 kB / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2781, allocations: 8.312 kB / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.2784, allocations: 59.89 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2784, allocations: 4 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.2787, allocations: 51.78 kB / 443.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.2787, allocations: 8 kB / 443.2 MB, free: 11.68 MB / 350.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.0001561/0.2789, allocations: 157.3 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.2789, allocations: 27.81 kB / 443.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.279, allocations: 25.77 kB / 443.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.279, allocations: 4 kB / 443.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.279, allocations: 3.938 kB / 443.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.279, allocations: 3.938 kB / 443.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.2793, allocations: 288.5 kB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2793, allocations: 0 / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.2795, allocations: 43.91 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2795, allocations: 4 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2795, allocations: 3.984 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2795, allocations: 0 / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2795, allocations: 0 / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/0.2804, allocations: 348.7 kB / 444.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2804, allocations: 23.83 kB / 444.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.2805, allocations: 7.984 kB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.2807, allocations: 27.97 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.2808, allocations: 27.83 kB / 444.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2808, allocations: 7.938 kB / 444.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.281, allocations: 189.2 kB / 444.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.281, allocations: 4.062 kB / 444.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.2813, allocations: 71.83 kB / 444.4 MB, free: 10.37 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: 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.0001226/0.2814, allocations: 102.9 kB / 444.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.2821, allocations: 269.1 kB / 444.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2821, allocations: 0 / 444.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.2824, allocations: 91.88 kB / 444.9 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.0003086/0.2827, allocations: 47.22 kB / 444.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2842, allocations: 0.6173 MB / 445.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.2846, allocations: 0.7557 MB / 446.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/0.2847, allocations: 27.42 kB / 446.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2847, allocations: 0 / 446.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of Templates: time 0.006071/0.2908, allocations: 3.501 MB / 449.8 MB, free: 4.918 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/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: 7.129525292897597]