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.001408/0.001408, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001588/0.001588, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.001934/0.001934, allocations: 63.89 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2424, allocations: 53.41 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003119/0.2455, allocations: 1.524 MB / 433.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004395/0.2459, allocations: 131.5 kB / 433.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.246, allocations: 7.938 kB / 433.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.928e-05/0.2461, allocations: 3.938 kB / 433.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.2462, allocations: 3.938 kB / 433.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.2465, allocations: 43.89 kB / 433.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2466, allocations: 31.86 kB / 433.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2467, allocations: 15.78 kB / 433.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.2468, allocations: 19.92 kB / 433.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.954e-05/0.2468, allocations: 7.938 kB / 433.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2468, allocations: 4 kB / 433.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.2468, allocations: 4 kB / 433.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.2469, allocations: 15.92 kB / 433.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.2469, allocations: 15.88 kB / 433.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.2471, allocations: 43.81 kB / 433.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2471, allocations: 0 / 433.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2471, allocations: 0 / 433.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.2471, allocations: 0 / 433.5 MB, free: 4.656 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.000633/0.2477, allocations: 288.5 kB / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.2478, allocations: 11.98 kB / 433.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.2478, allocations: 20.81 kB / 433.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.2481, allocations: 138.4 kB / 433.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.2482, allocations: 384 / 433.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.2482, allocations: 4.375 kB / 434 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.2485, allocations: 113.5 kB / 434.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2485, allocations: 192 / 434.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.2485, allocations: 11.94 kB / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2485, allocations: 0 / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.2486, allocations: 11.94 kB / 434.1 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.249, allocations: 213.4 kB / 434.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.2492, allocations: 57.14 kB / 434.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.2492, allocations: 25.77 kB / 434.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.2493, allocations: 3.938 kB / 434.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.2493, allocations: 38.56 kB / 434.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.2493, allocations: 0 / 434.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002591/0.2496, allocations: 81.55 kB / 434.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.2496, allocations: 77.11 kB / 434.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2498, allocations: 137.1 kB / 434.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2498, allocations: 25.7 kB / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.2499, allocations: 88.08 kB / 434.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.2499, allocations: 3.938 kB / 434.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.2499, allocations: 29.66 kB / 434.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2501, allocations: 310.8 kB / 435.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.2501, allocations: 4 kB / 435.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.912e-05/0.2502, allocations: 39.55 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.207e-05/0.2503, allocations: 39.36 kB / 435.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2503, allocations: 4 kB / 435.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/0.2504, allocations: 57.56 kB / 435.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2504, allocations: 8 kB / 435.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2504, allocations: 4.125 kB / 435.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2504, allocations: 0 / 435.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.2504, allocations: 8 kB / 435.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2504, allocations: 11.86 kB / 435.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.2505, allocations: 4 kB / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2505, allocations: 0 / 435.3 MB, free: 2.602 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.0001078/0.2506, allocations: 121.8 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.2507, allocations: 53.59 kB / 435.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.2507, allocations: 11.98 kB / 435.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2507, allocations: 0 / 435.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2507, allocations: 8 kB / 435.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2507, allocations: 0 / 435.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.2509, allocations: 109.3 kB / 435.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2509, allocations: 0 / 435.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-06/0.2509, allocations: 0 / 435.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.2509, allocations: 7.938 kB / 435.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2509, allocations: 3.938 kB / 435.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2509, allocations: 3.938 kB / 435.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2509, allocations: 0 / 435.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.2511, allocations: 160.3 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.2511, allocations: 27.88 kB / 435.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2512, allocations: 0 / 435.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.2512, allocations: 4 kB / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.2513, allocations: 0 / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2513, allocations: 0 / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.2514, allocations: 103.3 kB / 435.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2514, allocations: 0 / 435.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.2516, allocations: 4 kB / 435.9 MB, free: 1.922 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.0001089/0.2517, allocations: 107.2 kB / 436 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.2519, allocations: 23.98 kB / 436.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2519, allocations: 0 / 436.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.2519, allocations: 7.938 kB / 436.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2522, allocations: 20.02 kB / 436.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.2525, allocations: 154.3 kB / 436.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.2526, allocations: 71.34 kB / 436.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.2527, allocations: 8.5 kB / 436.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.2527, allocations: 7.75 kB / 436.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2527, allocations: 4 kB / 436.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of Templates: time 0.003168/0.2559, allocations: 0.5393 MB / 436.9 MB, free: 0.9414 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: 4.406019059941173]