Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001342, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3672, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003403/0.3707, allocations: 1.699 MB / 410.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005999/0.3713, allocations: 155.4 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3715, allocations: 4 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.625e-05/0.3716, allocations: 7.875 kB / 411.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.3718, allocations: 15.91 kB / 411.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.3722, allocations: 43.84 kB / 411.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3723, allocations: 55.89 kB / 411.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.3725, allocations: 27.98 kB / 411.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.3726, allocations: 23.88 kB / 411.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.3726, allocations: 27.78 kB / 411.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3727, allocations: 4 kB / 411.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.3727, allocations: 4 kB / 411.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.3728, allocations: 23.92 kB / 411.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.3728, allocations: 31.73 kB / 411.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.373, allocations: 71.66 kB / 411.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.373, allocations: 4 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.373, allocations: 4 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.373, allocations: 4 kB / 411.4 MB, free: 15.38 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005335/0.3735, allocations: 384.3 kB / 411.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3736, allocations: 12.03 kB / 411.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.3736, allocations: 12.75 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3739, allocations: 199 kB / 412 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3739, allocations: 4.312 kB / 412 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.374, allocations: 12.38 kB / 412.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.3743, allocations: 158.4 kB / 412.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3744, allocations: 192 / 412.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3744, allocations: 3.938 kB / 412.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3744, allocations: 11.98 kB / 412.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3745, allocations: 35.92 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.375, allocations: 361.8 kB / 412.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.3752, allocations: 131.8 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3753, allocations: 50.62 kB / 412.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3754, allocations: 4 kB / 412.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3754, allocations: 34.56 kB / 412.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.3754, allocations: 0 / 412.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003847/0.3758, allocations: 129.7 kB / 413 MB, free: 13.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.3759, allocations: 106.8 kB / 413.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.376, allocations: 137.8 kB / 413.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.376, allocations: 25.7 kB / 413.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.3761, allocations: 100.2 kB / 413.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3761, allocations: 8 kB / 413.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.3762, allocations: 25.61 kB / 413.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3763, allocations: 318.8 kB / 413.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.3764, allocations: 15.98 kB / 413.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.3765, allocations: 75.59 kB / 413.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.3766, allocations: 99.53 kB / 413.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3766, allocations: 3.938 kB / 413.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.3768, allocations: 113.6 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3768, allocations: 4 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.3768, allocations: 4 kB / 414 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3769, allocations: 0 / 414 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.3769, allocations: 19.98 kB / 414 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.3769, allocations: 7.938 kB / 414 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.377, allocations: 8 kB / 414 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.377, allocations: 8 kB / 414 MB, free: 12.47 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001139/0.3771, allocations: 129.8 kB / 414.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.3773, allocations: 77.75 kB / 414.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.3773, allocations: 16.7 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3773, allocations: 4 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3774, allocations: 0 / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3774, allocations: 3.938 kB / 414.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3776, allocations: 189.4 kB / 414.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3777, allocations: 0 / 414.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.3777, allocations: 23.98 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3777, allocations: 3.984 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3778, allocations: 4 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3778, allocations: 4 kB / 414.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3778, allocations: 0 / 414.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.3782, allocations: 316.2 kB / 414.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.3783, allocations: 93 kB / 414.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.3783, allocations: 11.94 kB / 414.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.3784, allocations: 0 / 414.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3785, allocations: 7.984 kB / 414.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3785, allocations: 0 / 414.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.3786, allocations: 106.4 kB / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3786, allocations: 4 kB / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.3788, allocations: 12 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001484/0.379, allocations: 106.9 kB / 415.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.3792, allocations: 56.14 kB / 415.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3792, allocations: 4 kB / 415.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.3793, allocations: 11.92 kB / 415.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.3797, allocations: 51.89 kB / 415.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.3802, allocations: 200.5 kB / 415.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3805, allocations: 0.6962 MB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.836e-05/0.3805, allocations: 8.656 kB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.3806, allocations: 11.44 kB / 416.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3806, allocations: 0 / 416.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of Templates: time 0.003322/0.3839, allocations: 0.7097 MB / 416.8 MB, free: 9.465 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches