Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 192.3 kB / 17.38 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 226.5 MB / 244.7 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 95.09 kB / 296.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 4 kB / 356.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4165, allocations: 51.29 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002646/0.4192, allocations: 1.579 MB / 409.6 MB, free: 26.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.4216, allocations: 1.196 MB / 410.8 MB, free: 24.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.4218, allocations: 4 kB / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.4223, allocations: 59.8 kB / 410.9 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.4228, allocations: 104.4 kB / 411 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009954/0.4238, allocations: 225.4 kB / 411.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.4241, allocations: 151.5 kB / 411.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.4243, allocations: 34.66 kB / 411.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.4244, allocations: 63.64 kB / 411.4 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.4246, allocations: 72.25 kB / 411.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.4246, allocations: 0.6875 kB / 411.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.4248, allocations: 47.97 kB / 411.6 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.4249, allocations: 50.2 kB / 411.6 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.4251, allocations: 93.19 kB / 411.7 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.4254, allocations: 176.6 kB / 411.9 MB, free: 23.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.4254, allocations: 0 / 411.9 MB, free: 23.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4254, allocations: 0 / 411.9 MB, free: 23.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.4254, allocations: 4 kB / 411.9 MB, free: 23.84 MB / 298.7 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.0008352/0.4263, allocations: 0.501 MB / 412.4 MB, free: 23.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.4263, allocations: 9.25 kB / 412.4 MB, free: 23.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.4264, allocations: 24.66 kB / 412.4 MB, free: 23.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.4268, allocations: 287.6 kB / 412.7 MB, free: 22.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.4269, allocations: 5.25 kB / 412.7 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.4269, allocations: 16.12 kB / 412.7 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.4273, allocations: 159.6 kB / 412.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4274, allocations: 0 / 412.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.4274, allocations: 4 kB / 412.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.4274, allocations: 0 / 412.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.4276, allocations: 43.91 kB / 412.9 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.4282, allocations: 378.4 kB / 413.3 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.4285, allocations: 115.9 kB / 413.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.4286, allocations: 50.5 kB / 413.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.4287, allocations: 4 kB / 413.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.429, allocations: 79.38 kB / 413.5 MB, free: 21.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.235e-06/0.429, allocations: 0 / 413.5 MB, free: 21.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000539/0.4296, allocations: 153.2 kB / 413.7 MB, free: 21.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.4297, allocations: 158.2 kB / 413.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.4302, allocations: 338.7 kB / 414.2 MB, free: 21.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.4302, allocations: 29.95 kB / 414.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.4304, allocations: 136 kB / 414.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.4304, allocations: 15.83 kB / 414.3 MB, free: 21.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.4304, allocations: 4 kB / 414.3 MB, free: 21.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4306, allocations: 330.8 kB / 414.7 MB, free: 20.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.4307, allocations: 23.98 kB / 414.7 MB, free: 20.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.4308, allocations: 86.92 kB / 414.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.431, allocations: 84.16 kB / 414.9 MB, free: 20.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.431, allocations: 0 / 414.9 MB, free: 20.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002746/0.4313, allocations: 129.3 kB / 415 MB, free: 20.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.4314, allocations: 4 kB / 415 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4314, allocations: 7.984 kB / 415 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.4314, allocations: 3.984 kB / 415 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.4316, allocations: 19.94 kB / 415 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4316, allocations: 0 / 415 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4317, allocations: 11.92 kB / 415 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.4317, allocations: 4 kB / 415 MB, free: 20.34 MB / 298.7 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.432, allocations: 158.3 kB / 415.2 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4321, allocations: 69.34 kB / 415.3 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.278e-05/0.4322, allocations: 29.7 kB / 415.3 MB, free: 20.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4322, allocations: 0 / 415.3 MB, free: 20.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4322, allocations: 4 kB / 415.3 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.4322, allocations: 3.938 kB / 415.3 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.4326, allocations: 245.4 kB / 415.5 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4326, allocations: 48 / 415.5 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.4327, allocations: 19.97 kB / 415.6 MB, free: 19.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4327, allocations: 8 kB / 415.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.4327, allocations: 7.938 kB / 415.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.4327, allocations: 7.938 kB / 415.6 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4327, allocations: 0 / 415.6 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.4331, allocations: 166.4 kB / 415.7 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4332, allocations: 112.9 kB / 415.9 MB, free: 19.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.4333, allocations: 4 kB / 415.9 MB, free: 19.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.4334, allocations: 7.984 kB / 415.9 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.4335, allocations: 11.98 kB / 415.9 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.4335, allocations: 7.938 kB / 415.9 MB, free: 19.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003058/0.4338, allocations: 245.9 kB / 416.1 MB, free: 19.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4338, allocations: 0 / 416.1 MB, free: 19.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004571/0.4343, allocations: 39.91 kB / 416.2 MB, free: 19.11 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/0.4357, allocations: 418.5 kB / 416.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.4361, allocations: 67.91 kB / 416.6 MB, free: 18.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4361, allocations: 0 / 416.6 MB, free: 18.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.4362, allocations: 31.92 kB / 416.7 MB, free: 18.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.4369, allocations: 64.12 kB / 416.7 MB, free: 18.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.4378, allocations: 445.5 kB / 417.2 MB, free: 18.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4381, allocations: 0.7477 MB / 417.9 MB, free: 17.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.4382, allocations: 19.44 kB / 417.9 MB, free: 17.41 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4382, allocations: 0 / 417.9 MB, free: 17.41 MB / 298.7 MB Notification: Performance of Templates: time 0.006533/0.4447, allocations: 2.916 MB / 420.9 MB, free: 14.5 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches