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.0009187/0.0009187, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.00169/0.00169, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9475/0.9475, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] 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 1.192e-06/1.192e-06, allocations: 3.938 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.271e-05, allocations: 2.312 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002204/0.002227, allocations: 1.554 MB / 275.7 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003256/0.002553, allocations: 148 kB / 275.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.002618, allocations: 0 / 275.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.00266, allocations: 12.8 kB / 275.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.00276, allocations: 3.938 kB / 275.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.002941, allocations: 40.53 kB / 275.9 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.003014, allocations: 35.91 kB / 276 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.003086, allocations: 12.48 kB / 276 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.003124, allocations: 20.7 kB / 276 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.073e-05/0.003145, allocations: 3.984 kB / 276 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.00316, allocations: 4.625 kB / 276 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.003168, allocations: 4 kB / 276 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.003206, allocations: 14.41 kB / 276 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.003227, allocations: 19.91 kB / 276.1 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.947e-05/0.003307, allocations: 23.86 kB / 276.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003309, allocations: 3.938 kB / 276.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00331, allocations: 0 / 276.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.003313, allocations: 4 kB / 276.1 MB, free: 2.52 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.0002964/0.00361, allocations: 398.3 kB / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.00364, allocations: 12.03 kB / 276.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.003664, allocations: 8.891 kB / 276.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.003789, allocations: 132.5 kB / 276.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003801, allocations: 0.875 kB / 276.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-06/0.003806, allocations: 5.031 kB / 276.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.003977, allocations: 133.5 kB / 276.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.003984, allocations: 4.172 kB / 276.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.00399, allocations: 384 / 276.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.003995, allocations: 384 / 276.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.317e-05/0.004008, allocations: 7.938 kB / 276.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.004201, allocations: 252 kB / 277 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.302e-05/0.004274, allocations: 66.17 kB / 277.1 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.004298, allocations: 23.44 kB / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.004309, allocations: 7.922 kB / 277.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.004328, allocations: 37.39 kB / 277.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.004329, allocations: 0 / 277.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001048/0.004434, allocations: 57.56 kB / 277.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.004471, allocations: 77.3 kB / 277.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.809e-05/0.004549, allocations: 193.8 kB / 277.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.004558, allocations: 25.7 kB / 277.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.004601, allocations: 130.9 kB / 277.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.004607, allocations: 0 / 277.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.004634, allocations: 31.44 kB / 277.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.00475, allocations: 0.4884 MB / 278.1 MB, free: 232 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/0.004757, allocations: 0 / 278.1 MB, free: 232 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.004763, allocations: 0 / 278.1 MB, free: 232 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.928e-05/0.004782, allocations: 19.61 kB / 278.2 MB, free: 208 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004784, allocations: 0 / 278.2 MB, free: 208 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.12e-05/0.004825, allocations: 33.66 kB / 278.2 MB, free: 168 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.004836, allocations: 4 kB / 278.2 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.00484, allocations: 4 kB / 278.2 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.004847, allocations: 8.016 kB / 278.2 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-06/0.004855, allocations: 4 kB / 278.2 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.004858, allocations: 3.984 kB / 278.2 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.004883, allocations: 3.984 kB / 278.2 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-06/0.004886, allocations: 0 / 278.2 MB, free: 140 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.065e-05/0.004966, allocations: 160.6 kB / 278.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.00501, allocations: 41.59 kB / 278.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.005035, allocations: 15.98 kB / 278.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.005037, allocations: 3.938 kB / 278.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.005039, allocations: 0 / 278.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005042, allocations: 4 kB / 278.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.005133, allocations: 101.2 kB / 278.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.005136, allocations: 4 kB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-06/0.00514, allocations: 0 / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.005143, allocations: 0 / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-06/0.005146, allocations: 0 / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005147, allocations: 0 / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005148, allocations: 4 kB / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.121e-05/0.005239, allocations: 203.5 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.005265, allocations: 7.953 kB / 278.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.005273, allocations: 4 kB / 278.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.005311, allocations: 12.03 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.005329, allocations: 3.984 kB / 278.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.005336, allocations: 7.938 kB / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.005376, allocations: 134.1 kB / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005376, allocations: 0 / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001295/0.005505, allocations: 4 kB / 278.9 MB, free: 15.37 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 7.119e-05/0.005576, allocations: 103.2 kB / 279 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.854e-05/0.005625, allocations: 15.67 kB / 279 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.005627, allocations: 8.062 kB / 279 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.005639, allocations: 11.62 kB / 279.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.005837, allocations: 16.88 kB / 279.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.006043, allocations: 149 kB / 279.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.006081, allocations: 67.14 kB / 279.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.587e-05/0.006097, allocations: 7.906 kB / 279.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.006141, allocations: 70.2 kB / 279.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006141, allocations: 0 / 279.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Templates: time 0.001902/0.008044, allocations: 0.5648 MB / 279.9 MB, free: 14.3 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.595652621705085]