Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 198.7 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.751/1.751, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008444/0.0008445, allocations: 94.47 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002485, allocations: 8 kB / 360.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2412, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002005/0.2432, allocations: 1.572 MB / 413.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.2449, allocations: 1.912 MB / 415.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.245, allocations: 4.75 kB / 415.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.2454, allocations: 63.73 kB / 415.6 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.2456, allocations: 112.9 kB / 415.7 MB, free: 22.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.2463, allocations: 229.8 kB / 415.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.2465, allocations: 163.5 kB / 416.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2467, allocations: 34.91 kB / 416.1 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.2468, allocations: 63.64 kB / 416.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.2469, allocations: 75.67 kB / 416.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2469, allocations: 4 kB / 416.3 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.247, allocations: 51.86 kB / 416.3 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.855e-05/0.2471, allocations: 51.81 kB / 416.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.2472, allocations: 93.19 kB / 416.5 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.2475, allocations: 220.7 kB / 416.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2475, allocations: 4 kB / 416.7 MB, free: 21.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.2475, allocations: 0 / 416.7 MB, free: 21.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2475, allocations: 0 / 416.7 MB, free: 21.07 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.0005937/0.2481, allocations: 0.5117 MB / 417.2 MB, free: 20.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2482, allocations: 8.031 kB / 417.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.2482, allocations: 28.66 kB / 417.2 MB, free: 20.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.2485, allocations: 283.6 kB / 417.5 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2485, allocations: 4.375 kB / 417.5 MB, free: 20.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.2486, allocations: 12.12 kB / 417.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.2489, allocations: 159.5 kB / 417.7 MB, free: 19.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2489, allocations: 0 / 417.7 MB, free: 19.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2489, allocations: 4 kB / 417.7 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2489, allocations: 0 / 417.7 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.249, allocations: 39.97 kB / 417.7 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.2494, allocations: 386.3 kB / 418.1 MB, free: 19.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2497, allocations: 119.9 kB / 418.2 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.2497, allocations: 42.56 kB / 418.3 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.2498, allocations: 12.05 kB / 418.3 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.25, allocations: 75.33 kB / 418.3 MB, free: 19.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.25, allocations: 4 kB / 418.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003332/0.2503, allocations: 149.3 kB / 418.5 MB, free: 19.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.2504, allocations: 166.2 kB / 418.7 MB, free: 18.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.2507, allocations: 334.7 kB / 419 MB, free: 18.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.2507, allocations: 29.7 kB / 419 MB, free: 18.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.2508, allocations: 128.3 kB / 419.1 MB, free: 18.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.2508, allocations: 19.83 kB / 419.2 MB, free: 18.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.2508, allocations: 15.88 kB / 419.2 MB, free: 18.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.2509, allocations: 330.8 kB / 419.5 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.251, allocations: 23.98 kB / 419.5 MB, free: 17.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.2511, allocations: 82.84 kB / 419.6 MB, free: 17.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2512, allocations: 84.22 kB / 419.7 MB, free: 17.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2512, allocations: 0 / 419.7 MB, free: 17.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000182/0.2514, allocations: 125.3 kB / 419.8 MB, free: 17.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2514, allocations: 8.125 kB / 419.8 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.2514, allocations: 4.312 kB / 419.8 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2514, allocations: 0 / 419.8 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2515, allocations: 19.98 kB / 419.8 MB, free: 17.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2516, allocations: 7.938 kB / 419.8 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.2516, allocations: 15.92 kB / 419.9 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.2517, allocations: 4 kB / 419.9 MB, free: 17.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.2518, allocations: 149.8 kB / 420 MB, free: 17.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.2519, allocations: 73.34 kB / 420.1 MB, free: 17.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.2519, allocations: 29.7 kB / 420.1 MB, free: 17.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2519, allocations: 0 / 420.1 MB, free: 17.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2519, allocations: 4 kB / 420.1 MB, free: 17.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2519, allocations: 3.938 kB / 420.1 MB, free: 17.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2521, allocations: 245.4 kB / 420.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2521, allocations: 0 / 420.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.2522, allocations: 15.98 kB / 420.4 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2522, allocations: 0 / 420.4 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2522, allocations: 0 / 420.4 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2522, allocations: 8.062 kB / 420.4 MB, free: 16.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2522, allocations: 0 / 420.4 MB, free: 16.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.2524, allocations: 166.4 kB / 420.5 MB, free: 16.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.2525, allocations: 112.9 kB / 420.7 MB, free: 16.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.2525, allocations: 0 / 420.7 MB, free: 16.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.2526, allocations: 19.92 kB / 420.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.2527, allocations: 7.984 kB / 420.7 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2527, allocations: 7.938 kB / 420.7 MB, free: 16.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.2528, allocations: 245.9 kB / 420.9 MB, free: 16.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2529, allocations: 3.938 kB / 420.9 MB, free: 16.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.2531, allocations: 39.89 kB / 421 MB, free: 16.34 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 (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.0009611/0.2541, allocations: 488.8 kB / 421.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.2543, allocations: 71.91 kB / 421.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2543, allocations: 4 kB / 421.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.674e-05/0.2544, allocations: 31.92 kB / 421.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2548, allocations: 59.5 kB / 421.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.2553, allocations: 428.7 kB / 422 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.2555, allocations: 0.7361 MB / 422.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.877e-05/0.2556, allocations: 29.53 kB / 422.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.2557, allocations: 23.42 kB / 422.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2557, allocations: 0 / 422.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of Templates: time 0.005719/0.2614, allocations: 2.696 MB / 425.5 MB, free: 11.86 MB / 298.7 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches