Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2336, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.0031/0.2367, allocations: 1.891 MB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.2386, allocations: 1.216 MB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.2387, allocations: 4 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.2393, allocations: 163 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.2396, allocations: 151.4 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.2401, allocations: 171.4 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.2404, allocations: 191.6 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2405, allocations: 37.42 kB / 413.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.2406, allocations: 75.69 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.2408, allocations: 71.69 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.2408, allocations: 8 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.2409, allocations: 63.91 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.241, allocations: 39.84 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.2411, allocations: 75.47 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.2414, allocations: 211 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2414, allocations: 4 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2414, allocations: 0 / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2414, allocations: 0 / 414.3 MB, free: 13.21 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.0007319/0.2422, allocations: 0.517 MB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2422, allocations: 11.97 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.2423, allocations: 16.75 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.2426, allocations: 270.8 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2426, allocations: 16.38 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.2427, allocations: 8.125 kB / 415.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.243, allocations: 142.7 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.243, allocations: 4 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.243, allocations: 4 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.243, allocations: 0 / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.761e-05/0.2431, allocations: 31.97 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.2436, allocations: 358.4 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2438, allocations: 107.9 kB / 415.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.2439, allocations: 50.56 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.2439, allocations: 12.05 kB / 415.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.2441, allocations: 79.31 kB / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.2441, allocations: 0 / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003572/0.2445, allocations: 141.3 kB / 416 MB, free: 11.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.2446, allocations: 132.5 kB / 416.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.2449, allocations: 273.2 kB / 416.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.2449, allocations: 33.7 kB / 416.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.245, allocations: 120 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.245, allocations: 15.89 kB / 416.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.2451, allocations: 33.56 kB / 416.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2452, allocations: 330.8 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.2453, allocations: 20 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.2454, allocations: 73.98 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.2455, allocations: 72.23 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2455, allocations: 0 / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002084/0.2457, allocations: 117.6 kB / 417.2 MB, free: 9.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2458, allocations: 10.97 kB / 417.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2458, allocations: 64 / 417.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2458, allocations: 11.98 kB / 417.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.2459, allocations: 8 kB / 417.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2459, allocations: 0 / 417.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.246, allocations: 15.88 kB / 417.3 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.246, allocations: 8 kB / 417.3 MB, free: 9.879 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.0001266/0.2461, allocations: 153.8 kB / 417.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.2462, allocations: 65.34 kB / 417.5 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.2463, allocations: 21.7 kB / 417.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2463, allocations: 4 kB / 417.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2463, allocations: 0 / 417.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2463, allocations: 3.938 kB / 417.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.2465, allocations: 233.5 kB / 417.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2465, allocations: 0 / 417.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.2465, allocations: 8.062 kB / 417.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2465, allocations: 0 / 417.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2466, allocations: 4 kB / 417.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2466, allocations: 0 / 417.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2466, allocations: 0 / 417.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.2468, allocations: 162.4 kB / 417.9 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.2469, allocations: 108.8 kB / 418 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.247, allocations: 11.94 kB / 418 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.247, allocations: 7.984 kB / 418 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.2471, allocations: 0 / 418 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2471, allocations: 7.938 kB / 418 MB, free: 8.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.2473, allocations: 204.5 kB / 418.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2473, allocations: 0 / 418.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.2476, allocations: 31.98 kB / 418.3 MB, free: 8.762 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.0009289/0.2485, allocations: 418.8 kB / 418.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.2487, allocations: 63.91 kB / 418.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2487, allocations: 0 / 418.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.2488, allocations: 31.92 kB / 418.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.2492, allocations: 67.45 kB / 418.8 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.2498, allocations: 351.1 kB / 419.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.2501, allocations: 0.7241 MB / 419.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.2502, allocations: 23.42 kB / 419.9 MB, free: 7.176 MB / 334.1 MB Notification: Performance of SimCode: time 3.226e-06/0.2502, allocations: 0 / 419.9 MB, free: 7.176 MB / 334.1 MB Notification: Performance of Templates: time 0.004861/0.2551, allocations: 2.669 MB / 422.6 MB, free: 4.52 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches