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.001184/0.001184, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2372, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003225/0.2405, allocations: 1.891 MB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2426, allocations: 1.29 MB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.2428, allocations: 4 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.2431, allocations: 71.66 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.2435, allocations: 135.4 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.2442, allocations: 234.8 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2444, allocations: 179.5 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2446, allocations: 21.56 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2447, allocations: 79.69 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.2448, allocations: 83.61 kB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.2448, allocations: 12 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.245, allocations: 63.97 kB / 414 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.2451, allocations: 55.81 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.2452, allocations: 87.36 kB / 414.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.2456, allocations: 239.1 kB / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2456, allocations: 0 / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2456, allocations: 0 / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2456, allocations: 4 kB / 414.3 MB, free: 13.19 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.0007066/0.2463, allocations: 0.5363 MB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2463, allocations: 8.031 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.2464, allocations: 24.66 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.2468, allocations: 291.5 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2468, allocations: 4.375 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.2469, allocations: 12.06 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.2472, allocations: 159.5 kB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.2472, allocations: 0 / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2473, allocations: 11.98 kB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2473, allocations: 0 / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.2474, allocations: 39.91 kB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.2479, allocations: 386.4 kB / 415.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.2482, allocations: 115.9 kB / 415.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.2483, allocations: 46.56 kB / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2483, allocations: 4 kB / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.2485, allocations: 79.31 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.2485, allocations: 4 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003788/0.2489, allocations: 153.3 kB / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.249, allocations: 158.2 kB / 416.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.2493, allocations: 334.7 kB / 416.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.2494, allocations: 29.69 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.2495, allocations: 132.2 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2495, allocations: 23.75 kB / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.2496, allocations: 33.7 kB / 416.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2497, allocations: 338.8 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.2498, allocations: 23.98 kB / 417.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2499, allocations: 82.8 kB / 417.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.25, allocations: 84.22 kB / 417.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2501, allocations: 256 / 417.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002325/0.2503, allocations: 137.3 kB / 417.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2503, allocations: 6.812 kB / 417.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.2503, allocations: 4 kB / 417.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2504, allocations: 0 / 417.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2505, allocations: 19.98 kB / 417.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2505, allocations: 0 / 417.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.2506, allocations: 11.94 kB / 417.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.2506, allocations: 4 kB / 417.6 MB, free: 9.598 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.0001276/0.2507, allocations: 161.7 kB / 417.7 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/0.2508, allocations: 65.45 kB / 417.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.2509, allocations: 29.7 kB / 417.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2509, allocations: 0 / 417.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2509, allocations: 4 kB / 417.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2509, allocations: 3.938 kB / 417.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2511, allocations: 249.6 kB / 418.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2511, allocations: 0 / 418.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.2512, allocations: 11.94 kB / 418.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.2512, allocations: 7.984 kB / 418.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.2512, allocations: 11.94 kB / 418.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.2512, allocations: 4 kB / 418.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2513, allocations: 0 / 418.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.2515, allocations: 166.4 kB / 418.3 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.2516, allocations: 112.8 kB / 418.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.2517, allocations: 3.984 kB / 418.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.2518, allocations: 8 kB / 418.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.2518, allocations: 11.98 kB / 418.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.2518, allocations: 8 kB / 418.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.2521, allocations: 241.9 kB / 418.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2521, allocations: 4 kB / 418.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.2523, allocations: 31.98 kB / 418.7 MB, free: 8.375 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.0009352/0.2533, allocations: 417.3 kB / 419.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.2535, allocations: 79.84 kB / 419.2 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2535, allocations: 0 / 419.2 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.2536, allocations: 31.98 kB / 419.2 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.2541, allocations: 70.8 kB / 419.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.2547, allocations: 410 kB / 419.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.255, allocations: 0.7475 MB / 420.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.2551, allocations: 19.44 kB / 420.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2551, allocations: 0 / 420.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of Templates: time 0.004981/0.2601, allocations: 2.961 MB / 423.4 MB, free: 3.738 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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