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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9293/0.9293, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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=5053,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=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.841e-05, allocations: 9.266 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002505/0.002523, allocations: 1.951 MB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.003996, allocations: 1.195 MB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.004081, allocations: 4 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.004447, allocations: 163.3 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.004707, allocations: 163.3 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.005051, allocations: 167.4 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.005264, allocations: 195.4 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.005342, allocations: 17.81 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.005443, allocations: 107.7 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.005523, allocations: 71.8 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.00554, allocations: 8 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.005638, allocations: 59.89 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.005684, allocations: 43.84 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.005727, allocations: 39.84 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.005916, allocations: 159.3 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.005917, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005918, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.005922, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.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.0004194/0.006341, allocations: 0.544 MB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.006371, allocations: 15.98 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.006408, allocations: 24.8 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.006607, allocations: 228.3 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.006616, allocations: 4.375 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.006628, allocations: 8.359 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.006813, allocations: 144.6 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.006819, allocations: 192 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.006827, allocations: 4.375 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.006832, allocations: 3.938 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.006873, allocations: 27.91 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.007171, allocations: 351 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.007283, allocations: 109.3 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.007324, allocations: 47.05 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.007339, allocations: 7.938 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.118e-05/0.007421, allocations: 72.98 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.007422, allocations: 0 / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001748/0.007597, allocations: 121.4 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.007639, allocations: 106.8 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.007814, allocations: 292.3 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.007827, allocations: 29.7 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.007896, allocations: 163.1 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.007912, allocations: 15.91 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.007949, allocations: 43.31 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.008084, allocations: 0.4962 MB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.008104, allocations: 7.984 kB / 280.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.008153, allocations: 68.75 kB / 280.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.008196, allocations: 39.56 kB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.008198, allocations: 0 / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.618e-05/0.008284, allocations: 89.47 kB / 280.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.008294, allocations: 10.81 kB / 280.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.008298, allocations: 4.062 kB / 280.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.008305, allocations: 0 / 280.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.008348, allocations: 11.98 kB / 280.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.008351, allocations: 0 / 280.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.008379, allocations: 7.938 kB / 280.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.008384, allocations: 4 kB / 280.3 MB, free: 9.746 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.973e-05/0.008453, allocations: 160.6 kB / 280.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.008505, allocations: 73.42 kB / 280.5 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.008619, allocations: 103.5 kB / 280.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.008621, allocations: 4 kB / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.008623, allocations: 0 / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.008628, allocations: 4 kB / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.008739, allocations: 168.6 kB / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00874, allocations: 0 / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.008757, allocations: 4 kB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008759, allocations: 7.938 kB / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.008766, allocations: 4 kB / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008767, allocations: 0 / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008768, allocations: 4 kB / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.008885, allocations: 163.8 kB / 281 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.008926, allocations: 43.7 kB / 281 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.008945, allocations: 8.062 kB / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.008973, allocations: 4 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.008997, allocations: 7.984 kB / 281 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.009008, allocations: 8 kB / 281 MB, free: 8.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.009117, allocations: 205.1 kB / 281.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009117, allocations: 0 / 281.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.009266, allocations: 23.94 kB / 281.3 MB, free: 8.68 MB / 266.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0007668/0.01003, allocations: 401.1 kB / 281.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.669e-05/0.01013, allocations: 51.61 kB / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.01013, allocations: 0 / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/0.01016, allocations: 27.73 kB / 281.7 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.01039, allocations: 73.23 kB / 281.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.01086, allocations: 301.9 kB / 282.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.01091, allocations: 79.81 kB / 282.2 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.202e-05/0.01095, allocations: 21.62 kB / 282.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.01098, allocations: 16.69 kB / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01098, allocations: 4 kB / 282.2 MB, free: 7.77 MB / 266.7 MB Notification: Performance of Templates: time 0.003892/0.01487, allocations: 2.57 MB / 284.8 MB, free: 5.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9234881550073624]