Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.002092/0.002092, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 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.002521/0.002521, allocations: 215.8 kB / 23 MB, free: 5.605 MB / 14.72 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.665/1.665, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 59.91 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.442, allocations: 53.33 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003805/0.4458, allocations: 1.527 MB / 431.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005148/0.4463, allocations: 135.5 kB / 431.5 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.4465, allocations: 4 kB / 431.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.576e-05/0.4465, allocations: 7.938 kB / 431.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.4467, allocations: 15.91 kB / 431.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.4471, allocations: 35.86 kB / 431.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.4472, allocations: 31.91 kB / 431.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.4474, allocations: 15.92 kB / 431.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.4474, allocations: 8 kB / 431.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.4474, allocations: 19.86 kB / 431.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.4475, allocations: 0 / 431.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.4475, allocations: 4 kB / 431.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.4476, allocations: 19.92 kB / 431.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.4476, allocations: 15.88 kB / 431.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.4478, allocations: 47.61 kB / 431.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4478, allocations: 0 / 431.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4478, allocations: 0 / 431.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4478, allocations: 0 / 431.7 MB, free: 5.684 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006077/0.4484, allocations: 368.6 kB / 432 MB, free: 5.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4484, allocations: 8.031 kB / 432 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.4485, allocations: 8.891 kB / 432 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.4488, allocations: 196.2 kB / 432.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.4488, allocations: 4.375 kB / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.4488, allocations: 8.375 kB / 432.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.4492, allocations: 117.5 kB / 432.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4492, allocations: 12.17 kB / 432.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4492, allocations: 3.938 kB / 432.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4492, allocations: 0 / 432.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.733e-05/0.4493, allocations: 11.94 kB / 432.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.4498, allocations: 257.8 kB / 432.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.4501, allocations: 146.2 kB / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.4501, allocations: 25.77 kB / 432.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.4502, allocations: 4 kB / 432.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.4502, allocations: 30.56 kB / 432.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.4502, allocations: 0 / 432.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002931/0.4505, allocations: 73.58 kB / 432.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.4506, allocations: 81.09 kB / 433 MB, free: 4.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.4508, allocations: 132.5 kB / 433.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.4508, allocations: 25.7 kB / 433.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.4509, allocations: 88.14 kB / 433.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.4509, allocations: 3.938 kB / 433.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.451, allocations: 21.67 kB / 433.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.4512, allocations: 327 kB / 433.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.4512, allocations: 4 kB / 433.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.4513, allocations: 31.36 kB / 433.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/0.4514, allocations: 47.38 kB / 433.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4514, allocations: 3.938 kB / 433.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001335/0.4515, allocations: 65.55 kB / 433.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4515, allocations: 4 kB / 433.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4516, allocations: 0 / 433.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.4516, allocations: 4 kB / 433.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.25e-05/0.4516, allocations: 0 / 433.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4516, allocations: 0 / 433.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.4516, allocations: 8.125 kB / 433.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.4516, allocations: 0 / 433.7 MB, free: 3.312 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001489/0.4518, allocations: 133.7 kB / 433.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.4519, allocations: 45.66 kB / 433.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.4519, allocations: 11.89 kB / 433.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.4519, allocations: 4 kB / 433.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4519, allocations: 0 / 433.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.452, allocations: 0 / 433.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.4522, allocations: 169.6 kB / 434.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4522, allocations: 7.938 kB / 434.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-06/0.4522, allocations: 4 kB / 434.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4522, allocations: 0 / 434.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4523, allocations: 0 / 434.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4523, allocations: 0 / 434.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4523, allocations: 0 / 434.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.4525, allocations: 168.5 kB / 434.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.4526, allocations: 101 kB / 434.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.4526, allocations: 3.984 kB / 434.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.4527, allocations: 0 / 434.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.4527, allocations: 0 / 434.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.4527, allocations: 4 kB / 434.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.4529, allocations: 99.27 kB / 434.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4529, allocations: 0 / 434.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.4531, allocations: 4 kB / 434.5 MB, free: 2.457 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001847/0.4533, allocations: 106 kB / 434.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.4534, allocations: 27.92 kB / 434.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4534, allocations: 0 / 434.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.4535, allocations: 8 kB / 434.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.4538, allocations: 31.83 kB / 434.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.4542, allocations: 146.4 kB / 434.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.4546, allocations: 0.6927 MB / 435.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.562e-05/0.4546, allocations: 4 kB / 435.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.4547, allocations: 7.438 kB / 435.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4547, allocations: 0 / 435.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of Templates: time 0.003832/0.4585, allocations: 0.51 MB / 436 MB, free: 0.875 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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: 5.10828797519207]