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.001298/0.001299, allocations: 110.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 208.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3775, allocations: 50.54 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003166/0.3807, allocations: 1.7 MB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004577/0.3812, allocations: 155.5 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.3813, allocations: 4 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.652e-05/0.3814, allocations: 11.81 kB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.3816, allocations: 11.92 kB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.3818, allocations: 47.83 kB / 411.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.382, allocations: 55.91 kB / 411.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3821, allocations: 27.97 kB / 411.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.3822, allocations: 19.88 kB / 412 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.3822, allocations: 31.83 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3823, allocations: 4 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.3823, allocations: 12 kB / 412 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.3824, allocations: 11.94 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.3824, allocations: 35.73 kB / 412.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3826, allocations: 71.66 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3826, allocations: 0 / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3826, allocations: 4 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3826, allocations: 0 / 412.1 MB, free: 15.44 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.000534/0.3831, allocations: 384.3 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3832, allocations: 12.03 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.3832, allocations: 16.75 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.3835, allocations: 195 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.3835, allocations: 12.31 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3835, allocations: 8.312 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.3839, allocations: 158.4 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3839, allocations: 192 / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3839, allocations: 7.938 kB / 412.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3839, allocations: 4 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3841, allocations: 39.89 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.3845, allocations: 369.8 kB / 413.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.3848, allocations: 115.8 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3849, allocations: 66.64 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3849, allocations: 0 / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3849, allocations: 34.56 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.3849, allocations: 7.938 kB / 413.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003339/0.3853, allocations: 121.6 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.3854, allocations: 111 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3855, allocations: 133.8 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3855, allocations: 33.7 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.3856, allocations: 95.97 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3856, allocations: 8 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.3856, allocations: 25.61 kB / 414 MB, free: 13.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3858, allocations: 318.8 kB / 414.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.3858, allocations: 15.98 kB / 414.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.3859, allocations: 71.66 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.386, allocations: 99.53 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3861, allocations: 0 / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.3862, allocations: 113.4 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3863, allocations: 4 kB / 414.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3863, allocations: 7.938 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3863, allocations: 4 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.3864, allocations: 15.98 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.3864, allocations: 8.219 kB / 414.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.3864, allocations: 8 kB / 414.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.3865, allocations: 4 kB / 414.7 MB, free: 12.53 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 9.51e-05/0.3866, allocations: 129.7 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3867, allocations: 73.59 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.3867, allocations: 16.7 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3867, allocations: 0 / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3868, allocations: 0 / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3868, allocations: 7.938 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.387, allocations: 189.4 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.387, allocations: 8 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.3871, allocations: 19.98 kB / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3871, allocations: 0 / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3871, allocations: 8 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3871, allocations: 0 / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3871, allocations: 0 / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.3875, allocations: 320.3 kB / 415.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.3876, allocations: 93 kB / 415.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3876, allocations: 7.938 kB / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.3877, allocations: 4 kB / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.3877, allocations: 7.984 kB / 415.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3878, allocations: 4 kB / 415.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.182e-05/0.3878, allocations: 110.4 kB / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3878, allocations: 0 / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3881, allocations: 12 kB / 415.7 MB, free: 11.43 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.0001056/0.3882, allocations: 95.25 kB / 415.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.3884, allocations: 63.84 kB / 415.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3884, allocations: 0.5625 kB / 415.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.3885, allocations: 15.92 kB / 415.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.3889, allocations: 50.23 kB / 415.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.3893, allocations: 225.5 kB / 416.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3896, allocations: 0.6962 MB / 416.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.3897, allocations: 19.36 kB / 416.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3897, allocations: 4.125 kB / 416.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Templates: time 0.002421/0.3921, allocations: 0.9149 MB / 417.8 MB, free: 9.285 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/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