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.00253/0.00253, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002856/0.002856, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.547/1.547, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.663e-06/1.663e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.341e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.005346/0.00538, allocations: 1.913 MB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.008121, allocations: 1.184 MB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.008255, allocations: 7.938 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007372/0.008992, allocations: 163.3 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.009439, allocations: 163.3 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.009942, allocations: 171.3 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.01027, allocations: 195.4 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.01037, allocations: 17.81 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.01055, allocations: 99.72 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.01068, allocations: 67.8 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.01072, allocations: 12 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.01088, allocations: 67.83 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.01096, allocations: 39.84 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.01105, allocations: 43.84 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.01142, allocations: 207.2 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01142, allocations: 0 / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01142, allocations: 4 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.01143, allocations: 0 / 276.5 MB, free: 13.46 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.0008738/0.0123, allocations: 0.5475 MB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.01234, allocations: 19.98 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/0.01243, allocations: 32.78 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.01284, allocations: 211.6 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.01287, allocations: 8.375 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.01289, allocations: 8.375 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.01329, allocations: 160.4 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.0133, allocations: 4.188 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.01331, allocations: 4.375 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.01332, allocations: 3.938 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.01344, allocations: 39.89 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.01412, allocations: 379 kB / 277.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.0144, allocations: 125.3 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.0145, allocations: 47.05 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.01454, allocations: 11.88 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.01474, allocations: 81.05 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.01474, allocations: 0 / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004098/0.01515, allocations: 133.5 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.01525, allocations: 110.8 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.01563, allocations: 340.3 kB / 278.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.01566, allocations: 29.64 kB / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.01581, allocations: 174.9 kB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.01584, allocations: 15.91 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.01592, allocations: 43.56 kB / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002878/0.01621, allocations: 0.5118 MB / 279.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/0.01626, allocations: 15.98 kB / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.657e-05/0.01636, allocations: 68.77 kB / 279.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.01648, allocations: 59.3 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01648, allocations: 0 / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001835/0.01667, allocations: 89.78 kB / 279.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.01668, allocations: 8 kB / 279.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01669, allocations: 64 / 279.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.0167, allocations: 4 kB / 279.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.01679, allocations: 19.98 kB / 279.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.0168, allocations: 4 kB / 279.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.01685, allocations: 8 kB / 279.8 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.01686, allocations: 0 / 279.8 MB, free: 9.879 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 0.0001465/0.01701, allocations: 176.5 kB / 280 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.01711, allocations: 69.44 kB / 280 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.01735, allocations: 107.5 kB / 280.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.01736, allocations: 4 kB / 280.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.01736, allocations: 0 / 280.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01737, allocations: 64 / 280.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.01762, allocations: 200.6 kB / 280.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01762, allocations: 0 / 280.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.01766, allocations: 11.94 kB / 280.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.01766, allocations: 3.938 kB / 280.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.01768, allocations: 7.984 kB / 280.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01768, allocations: 0 / 280.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01768, allocations: 0 / 280.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.018, allocations: 179.5 kB / 280.5 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.01808, allocations: 35.78 kB / 280.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.01812, allocations: 7.984 kB / 280.6 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.01817, allocations: 4 kB / 280.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.01823, allocations: 11.98 kB / 280.6 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.01824, allocations: 4 kB / 280.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002493/0.01849, allocations: 229.1 kB / 280.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01849, allocations: 0 / 280.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.01874, allocations: 31.94 kB / 280.8 MB, free: 8.723 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.002942/0.02169, allocations: 434.7 kB / 281.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.02193, allocations: 71.66 kB / 281.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02193, allocations: 0 / 281.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.02202, allocations: 35.61 kB / 281.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.02246, allocations: 74.66 kB / 281.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.02344, allocations: 321.9 kB / 281.8 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.02358, allocations: 123.7 kB / 281.9 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.071e-05/0.02366, allocations: 21.61 kB / 281.9 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.02371, allocations: 16.5 kB / 281.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02371, allocations: 0 / 281.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of Templates: time 0.00697/0.03068, allocations: 2.566 MB / 284.5 MB, free: 5.195 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5395049140788615]