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.001322/0.001322, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.001576/0.001576, allocations: 202.8 kB / 24.46 MB, free: 3.902 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 / 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.001922/0.001922, allocations: 71.81 kB / 378.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2645, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004593/0.2691, allocations: 2.91 MB / 435 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2706, allocations: 0.7635 MB / 435.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.2707, allocations: 4 kB / 435.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.2709, allocations: 43.56 kB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.2711, allocations: 103.2 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.2714, allocations: 111.8 kB / 436 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.2718, allocations: 390.5 kB / 436.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.2721, allocations: 95.25 kB / 436.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.2724, allocations: 159.4 kB / 436.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.2726, allocations: 167.2 kB / 436.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.2727, allocations: 40 kB / 436.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-05/0.2727, allocations: 36 kB / 436.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.2728, allocations: 67.83 kB / 436.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.273, allocations: 167.2 kB / 437.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.2735, allocations: 431.7 kB / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2735, allocations: 0 / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2735, allocations: 0 / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2735, allocations: 0 / 437.5 MB, free: 1.887 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.001405/0.2749, allocations: 0.6728 MB / 438.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2749, allocations: 12.03 kB / 438.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.275, allocations: 32.75 kB / 438.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.2755, allocations: 288.8 kB / 438.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.2755, allocations: 20.94 kB / 438.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.2755, allocations: 24.38 kB / 438.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.2763, allocations: 323.8 kB / 438.9 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2763, allocations: 0 / 438.9 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.2763, allocations: 15.98 kB / 438.9 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2763, allocations: 4 kB / 438.9 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.2772, allocations: 274.1 kB / 439.2 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.2791, allocations: 1.12 MB / 440.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000917/0.28, allocations: 238.5 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.2804, allocations: 96.78 kB / 440.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.2804, allocations: 7.984 kB / 440.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.2809, allocations: 165 kB / 440.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.2809, allocations: 4 kB / 440.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001107/0.282, allocations: 317.2 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.282, allocations: 81.11 kB / 441.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.2824, allocations: 262.6 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.2824, allocations: 25.7 kB / 441.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.2826, allocations: 203.9 kB / 441.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.2826, allocations: 43.62 kB / 441.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.2827, allocations: 49.7 kB / 441.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2829, allocations: 334.8 kB / 442.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.2832, allocations: 104.1 kB / 442.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.2837, allocations: 195.5 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.2844, allocations: 299.7 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.2844, allocations: 4 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009021/0.2853, allocations: 362.2 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.2854, allocations: 41.69 kB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2854, allocations: 0 / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2854, allocations: 4 kB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.2857, allocations: 63.89 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2857, allocations: 4 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.286, allocations: 59.8 kB / 443.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.2861, allocations: 16 kB / 443.2 MB, free: 11.82 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.0001626/0.2862, allocations: 141.7 kB / 443.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.2863, allocations: 27.8 kB / 443.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.032e-05/0.2863, allocations: 25.7 kB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.2863, allocations: 4 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2863, allocations: 0 / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2863, allocations: 7.938 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.2867, allocations: 305.5 kB / 443.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2867, allocations: 0 / 443.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.2869, allocations: 47.91 kB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2869, allocations: 0 / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2869, allocations: 7.922 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2869, allocations: 0 / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.287, allocations: 0 / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.2881, allocations: 377.1 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.2882, allocations: 97 kB / 444.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.2882, allocations: 7.984 kB / 444.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.2884, allocations: 31.97 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.2885, allocations: 19.92 kB / 444.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.2885, allocations: 7.922 kB / 444.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.2887, allocations: 194 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2887, allocations: 0 / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.289, allocations: 71.78 kB / 444.6 MB, free: 10.38 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.0001483/0.2892, allocations: 99.25 kB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008604/0.29, allocations: 283.2 kB / 444.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.29, allocations: 0 / 444.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003582/0.2904, allocations: 108.5 kB / 445 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.2907, allocations: 40.53 kB / 445.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.292, allocations: 0.5693 MB / 445.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.2924, allocations: 0.748 MB / 446.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.2925, allocations: 27.38 kB / 446.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2925, allocations: 4 kB / 446.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of Templates: time 0.006584/0.2991, allocations: 3.353 MB / 449.8 MB, free: 5.098 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.128859510179609]