Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 210.1 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2664, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003332/0.2697, allocations: 1.535 MB / 433.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000458/0.2702, allocations: 131.5 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.2703, allocations: 4 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.643e-05/0.2703, allocations: 3.938 kB / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.2705, allocations: 3.938 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.2707, allocations: 39.89 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2708, allocations: 31.92 kB / 434.1 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.271, allocations: 15.78 kB / 434.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.271, allocations: 19.92 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.196e-05/0.271, allocations: 11.86 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.271, allocations: 11.94 kB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.2711, allocations: 7.938 kB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.2711, allocations: 8 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.2711, allocations: 19.86 kB / 434.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2713, allocations: 47.47 kB / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2713, allocations: 0 / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2713, allocations: 0 / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2713, allocations: 3.938 kB / 434.2 MB, free: 4.863 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.0004495/0.2717, allocations: 285.3 kB / 434.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2718, allocations: 8.031 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.2718, allocations: 8.891 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.272, allocations: 138.4 kB / 434.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2721, allocations: 4.312 kB / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2721, allocations: 8.375 kB / 434.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.2724, allocations: 113.6 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2724, allocations: 192 / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2724, allocations: 3.938 kB / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2724, allocations: 4 kB / 434.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.035e-05/0.2725, allocations: 15.98 kB / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.2728, allocations: 205.4 kB / 435 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.2729, allocations: 53.2 kB / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.273, allocations: 29.7 kB / 435.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.273, allocations: 3.938 kB / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.273, allocations: 38.56 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.273, allocations: 0 / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000244/0.2733, allocations: 77.56 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.2733, allocations: 77.11 kB / 435.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2735, allocations: 133.8 kB / 435.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2735, allocations: 25.7 kB / 435.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.2735, allocations: 84.14 kB / 435.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2735, allocations: 7.922 kB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.2736, allocations: 29.66 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2737, allocations: 310.8 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.2738, allocations: 15.92 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.999e-05/0.2738, allocations: 27.44 kB / 435.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.328e-05/0.2739, allocations: 47.48 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2739, allocations: 0 / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001194/0.274, allocations: 69.44 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.274, allocations: 8 kB / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.274, allocations: 0 / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.274, allocations: 4.125 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.106e-05/0.274, allocations: 4.281 kB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.274, allocations: 0 / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.2741, allocations: 4 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2741, allocations: 0 / 436 MB, free: 2.828 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.0001008/0.2742, allocations: 125.8 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.2743, allocations: 61.5 kB / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.2743, allocations: 8 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2743, allocations: 0 / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2743, allocations: 4 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2743, allocations: 4 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2745, allocations: 109.3 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2745, allocations: 0 / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-06/0.2745, allocations: 0 / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.2745, allocations: 7.938 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2745, allocations: 0 / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2745, allocations: 3.984 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2745, allocations: 0 / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.2747, allocations: 164.3 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.2747, allocations: 19.88 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2747, allocations: 4 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.523e-05/0.2748, allocations: 4 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.2748, allocations: 0 / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2748, allocations: 4 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.2749, allocations: 105.5 kB / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2749, allocations: 0 / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.2751, allocations: 4 kB / 436.6 MB, free: 2.141 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.0001004/0.2752, allocations: 99.25 kB / 436.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.2753, allocations: 32.05 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2753, allocations: 3.938 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/0.2753, allocations: 4 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.2757, allocations: 18.77 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.276, allocations: 188 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.64e-05/0.2761, allocations: 75.33 kB / 437 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.2761, allocations: 7.438 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2761, allocations: 3.938 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of Templates: time 0.002213/0.2784, allocations: 0.6902 MB / 437.7 MB, free: 0.9688 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.6900286710006185]