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.0009949/0.0009949, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.00111/0.00111, allocations: 163 kB / 25.61 MB, free: 8.582 MB / 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.022/1.022, allocations: 177 MB / 205.9 MB, free: 4.457 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.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 1.182e-06/1.182e-06, allocations: 0 / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.296e-05, allocations: 2.312 kB / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002531/0.002554, allocations: 1.556 MB / 275.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003852/0.00294, allocations: 146.1 kB / 275.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.00304, allocations: 7.938 kB / 275.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.735e-05/0.003098, allocations: 7.922 kB / 275.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.003231, allocations: 7.875 kB / 275.8 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.003458, allocations: 43.83 kB / 275.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.013e-05/0.003548, allocations: 27.92 kB / 275.9 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.034e-05/0.003628, allocations: 8 kB / 275.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.003676, allocations: 25.31 kB / 275.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.421e-05/0.0037, allocations: 7.984 kB / 275.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.003717, allocations: 4 kB / 275.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.003725, allocations: 0 / 275.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.003766, allocations: 12.66 kB / 276 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.00379, allocations: 15.92 kB / 276 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.237e-05/0.003883, allocations: 36.47 kB / 276 MB, free: 2.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003885, allocations: 1.938 kB / 276 MB, free: 2.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003886, allocations: 0 / 276 MB, free: 2.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.00389, allocations: 0 / 276 MB, free: 2.41 MB / 250.7 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.0003289/0.004219, allocations: 392.3 kB / 276.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.004247, allocations: 8.031 kB / 276.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.004275, allocations: 9.391 kB / 276.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.004422, allocations: 141.1 kB / 276.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.004439, allocations: 6.844 kB / 276.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.004449, allocations: 8.375 kB / 276.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.004637, allocations: 117.6 kB / 276.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004644, allocations: 4.188 kB / 276.7 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.004651, allocations: 4.375 kB / 276.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004657, allocations: 384 / 276.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.004678, allocations: 15.86 kB / 276.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.004898, allocations: 240 kB / 276.9 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.573e-05/0.004994, allocations: 74.09 kB / 277 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.005024, allocations: 23.42 kB / 277 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.005037, allocations: 7.938 kB / 277 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.005059, allocations: 33.39 kB / 277.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.00506, allocations: 0 / 277.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001374/0.005198, allocations: 61.56 kB / 277.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.005242, allocations: 81.11 kB / 277.2 MB, free: 1.023 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.005346, allocations: 196.3 kB / 277.4 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.005357, allocations: 25.7 kB / 277.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.005406, allocations: 134.9 kB / 277.6 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.005414, allocations: 0 / 277.6 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.005447, allocations: 23.36 kB / 277.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.005574, allocations: 496.1 kB / 278.1 MB, free: 124 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-06/0.00558, allocations: 0 / 278.1 MB, free: 124 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.005586, allocations: 128 / 278.1 MB, free: 124 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.974e-05/0.005606, allocations: 15.75 kB / 278.1 MB, free: 104 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005608, allocations: 0 / 278.1 MB, free: 104 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.38e-05/0.005662, allocations: 33.66 kB / 278.1 MB, free: 64 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005673, allocations: 8 kB / 278.1 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.005679, allocations: 4 kB / 278.1 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.005688, allocations: 7.875 kB / 278.1 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.938e-06/0.005698, allocations: 4 kB / 278.1 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.005701, allocations: 3.984 kB / 278.1 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.005734, allocations: 4 kB / 278.1 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.005738, allocations: 4.031 kB / 278.2 MB, free: 28 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.887e-05/0.005827, allocations: 152.6 kB / 278.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.005894, allocations: 45.64 kB / 278.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.005923, allocations: 8 kB / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.005929, allocations: 7.938 kB / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.005931, allocations: 0 / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.005935, allocations: 0 / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.00606, allocations: 105.2 kB / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.006061, allocations: 0 / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-06/0.00607, allocations: 4 kB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006072, allocations: 4 kB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.006078, allocations: 7.938 kB / 278.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.00608, allocations: 0 / 278.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.006081, allocations: 0 / 278.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.865e-05/0.006179, allocations: 195.5 kB / 278.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.006209, allocations: 15.95 kB / 278.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.006222, allocations: 0 / 278.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.006277, allocations: 3.984 kB / 278.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.0063, allocations: 4 kB / 278.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.006305, allocations: 4.172 kB / 278.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.108e-05/0.006356, allocations: 143.2 kB / 278.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006356, allocations: 0 / 278.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.006551, allocations: 4 kB / 278.8 MB, free: 15.27 MB / 266.7 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 8.196e-05/0.006633, allocations: 99.19 kB / 278.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.303e-05/0.006696, allocations: 19.67 kB / 279 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006697, allocations: 0 / 279 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.006709, allocations: 7.688 kB / 279 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.006979, allocations: 30.67 kB / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.007207, allocations: 149.1 kB / 279.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.219e-05/0.007249, allocations: 67.14 kB / 279.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.784e-05/0.007267, allocations: 7.906 kB / 279.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.007315, allocations: 70.2 kB / 279.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.007316, allocations: 0 / 279.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002278/0.009594, allocations: 0.5578 MB / 279.8 MB, free: 14.21 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] 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","",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.771473290864378]