Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 107 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 258.2 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.241, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.006094/0.247, allocations: 2.692 MB / 435.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2492, allocations: 0.7245 MB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.2494, allocations: 11.94 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.2496, allocations: 43.58 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.25, allocations: 103.2 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.2505, allocations: 119.8 kB / 436.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.2511, allocations: 382.5 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.2514, allocations: 94.61 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.2518, allocations: 159.4 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.2521, allocations: 171.3 kB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.979e-05/0.2522, allocations: 36 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.782e-05/0.2523, allocations: 44 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.2524, allocations: 75.7 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.2526, allocations: 135.4 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.2533, allocations: 434 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2533, allocations: 0 / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2533, allocations: 0 / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.2533, allocations: 0 / 437.5 MB, free: 1.492 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.001786/0.2551, allocations: 0.5936 MB / 438.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2552, allocations: 8.031 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.2553, allocations: 32.75 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/0.2558, allocations: 238.9 kB / 438.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.2559, allocations: 20.88 kB / 438.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.4e-05/0.2559, allocations: 28.38 kB / 438.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.257, allocations: 336.7 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.257, allocations: 0 / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.2571, allocations: 15.98 kB / 438.8 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.2571, allocations: 8 kB / 438.8 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.2584, allocations: 277.8 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.261, allocations: 0.9445 MB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.2623, allocations: 234.6 kB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.2629, allocations: 100.8 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.2629, allocations: 4 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007348/0.2636, allocations: 194.6 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.334e-06/0.2636, allocations: 0 / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001623/0.2652, allocations: 317.3 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.2653, allocations: 81.11 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.2658, allocations: 257 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.2658, allocations: 33.7 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.266, allocations: 200 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.2661, allocations: 47.56 kB / 441.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.2663, allocations: 53.66 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.2664, allocations: 330.8 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.2671, allocations: 133.8 kB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.2678, allocations: 247 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.2689, allocations: 302.2 kB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.2689, allocations: 8 kB / 442.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001461/0.2704, allocations: 388.8 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.2704, allocations: 37.7 kB / 442.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.2705, allocations: 4 kB / 442.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.2705, allocations: 4 kB / 442.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.271, allocations: 67.89 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.271, allocations: 7.984 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.2715, allocations: 55.8 kB / 443.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.2715, allocations: 8 kB / 443.1 MB, free: 11.59 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.0002313/0.2717, allocations: 149.7 kB / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.2718, allocations: 19.86 kB / 443.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.583e-05/0.2719, allocations: 25.7 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2719, allocations: 4 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2719, allocations: 0 / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.2719, allocations: 3.984 kB / 443.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.2723, allocations: 217.1 kB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2723, allocations: 0 / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.2726, allocations: 39.95 kB / 443.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2726, allocations: 4 kB / 443.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.2727, allocations: 4 kB / 443.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2727, allocations: 0 / 443.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2727, allocations: 0 / 443.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.2743, allocations: 381 kB / 443.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.2743, allocations: 23.88 kB / 443.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.2744, allocations: 8.062 kB / 443.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.2747, allocations: 27.97 kB / 444 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.2748, allocations: 15.97 kB / 444 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.2748, allocations: 4 kB / 444 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003079/0.2752, allocations: 180.5 kB / 444.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2752, allocations: 0 / 444.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.2757, allocations: 67.84 kB / 444.2 MB, free: 10.39 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.0001862/0.2758, allocations: 106.6 kB / 444.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.2771, allocations: 325.1 kB / 444.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2771, allocations: 3.938 kB / 444.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.2776, allocations: 95.92 kB / 444.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.2781, allocations: 36.67 kB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.2797, allocations: 0.5373 MB / 445.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.2799, allocations: 142.9 kB / 445.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.2801, allocations: 30.28 kB / 445.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2802, allocations: 23.44 kB / 445.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2802, allocations: 0 / 445.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of Templates: time 0.01074/0.2909, allocations: 3.472 MB / 449 MB, free: 5.629 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.467329049992259]