Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 117.2 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.002193/0.002193, allocations: 203.8 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.596/1.596, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3787, allocations: 50.55 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004113/0.3829, allocations: 1.89 MB / 411.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.3855, allocations: 1.294 MB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.3858, allocations: 7.938 kB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.3863, allocations: 67.67 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005095/0.3869, allocations: 135.4 kB / 412.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008951/0.3878, allocations: 230.5 kB / 412.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.3881, allocations: 179.5 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3883, allocations: 37.53 kB / 413.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.3884, allocations: 71.69 kB / 413.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.3886, allocations: 79.69 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.3886, allocations: 8 kB / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.3888, allocations: 67.91 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.389, allocations: 55.81 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3891, allocations: 79.42 kB / 413.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.3895, allocations: 239 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3896, allocations: 0 / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3896, allocations: 8 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3896, allocations: 0 / 413.7 MB, free: 13.16 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008911/0.3905, allocations: 0.5402 MB / 414.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3905, allocations: 8.031 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.3906, allocations: 24.66 kB / 414.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.3911, allocations: 287.6 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3912, allocations: 8.312 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3912, allocations: 12.12 kB / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.3916, allocations: 159.1 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3916, allocations: 0 / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.3916, allocations: 8 kB / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3917, allocations: 0 / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3918, allocations: 39.91 kB / 414.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.3924, allocations: 374.5 kB / 415.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3927, allocations: 115.9 kB / 415.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.3928, allocations: 50.55 kB / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.3929, allocations: 12 kB / 415.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.3931, allocations: 75.39 kB / 415.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3931, allocations: 0 / 415.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004312/0.3935, allocations: 157.3 kB / 415.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.3937, allocations: 162.2 kB / 415.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.3942, allocations: 338.9 kB / 416 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3942, allocations: 29.7 kB / 416 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3943, allocations: 139.9 kB / 416.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.3943, allocations: 19.73 kB / 416.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3944, allocations: 29.72 kB / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3945, allocations: 338.8 kB / 416.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.3946, allocations: 23.98 kB / 416.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3947, allocations: 86.84 kB / 416.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3949, allocations: 80.22 kB / 416.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3949, allocations: 0 / 416.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000233/0.3952, allocations: 129.3 kB / 416.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3952, allocations: 6.969 kB / 416.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3952, allocations: 4 kB / 416.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3952, allocations: 0 / 416.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3954, allocations: 23.92 kB / 416.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3954, allocations: 0 / 416.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.3955, allocations: 11.94 kB / 416.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3955, allocations: 4 kB / 416.9 MB, free: 9.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001423/0.3956, allocations: 165.9 kB / 417.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.3957, allocations: 65.36 kB / 417.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.3958, allocations: 25.75 kB / 417.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3958, allocations: 3.984 kB / 417.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3958, allocations: 7.984 kB / 417.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3958, allocations: 3.938 kB / 417.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.396, allocations: 241.5 kB / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3961, allocations: 320 / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.3961, allocations: 24.05 kB / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3961, allocations: 0 / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3962, allocations: 0 / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3962, allocations: 7.938 kB / 417.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3962, allocations: 0 / 417.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.3965, allocations: 166.4 kB / 417.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3966, allocations: 120.8 kB / 417.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.3967, allocations: 0 / 417.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.3967, allocations: 8 kB / 417.7 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.3968, allocations: 11.92 kB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3968, allocations: 7.938 kB / 417.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003057/0.3971, allocations: 253.9 kB / 418 MB, free: 8.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3971, allocations: 96 / 418 MB, free: 8.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.3974, allocations: 31.94 kB / 418 MB, free: 8.34 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001038/0.3985, allocations: 412.4 kB / 418.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.3987, allocations: 71.91 kB / 418.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3988, allocations: 4 kB / 418.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.3988, allocations: 31.92 kB / 418.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.3994, allocations: 65.17 kB / 418.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.4, allocations: 376.3 kB / 419 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.4004, allocations: 0.7475 MB / 419.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.883e-05/0.4004, allocations: 29.53 kB / 419.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.4005, allocations: 19.44 kB / 419.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4005, allocations: 0 / 419.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of Templates: time 0.006977/0.4075, allocations: 2.848 MB / 422.6 MB, free: 3.848 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches