Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001536/0.001536, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001653/0.001653, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.46/1.46, allocations: 230.4 MB / 255.4 MB, free: 15.02 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-beta.om/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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1238, allocations: 53.3 MB / 428 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003271/0.127, allocations: 1.451 MB / 429.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.1274, allocations: 103.7 kB / 429.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.1274, allocations: 0 / 429.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.1275, allocations: 3.938 kB / 429.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.1275, allocations: 3.984 kB / 429.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1278, allocations: 19.92 kB / 429.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.1279, allocations: 23.92 kB / 429.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.128, allocations: 11.98 kB / 429.7 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.128, allocations: 11.92 kB / 429.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.479e-05/0.128, allocations: 11.94 kB / 429.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1281, allocations: 4 kB / 429.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.1281, allocations: 4 kB / 429.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.1281, allocations: 4 kB / 429.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.1281, allocations: 11.92 kB / 429.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1282, allocations: 35.83 kB / 429.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1282, allocations: 3.938 kB / 429.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1282, allocations: 0 / 429.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1282, allocations: 0 / 429.7 MB, free: 2.668 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004925/0.1287, allocations: 331.5 kB / 430.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1288, allocations: 12.03 kB / 430.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.1288, allocations: 4.938 kB / 430.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1291, allocations: 184.2 kB / 430.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1291, allocations: 384 / 430.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.1291, allocations: 4.375 kB / 430.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.1294, allocations: 99.88 kB / 430.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1294, allocations: 8.172 kB / 430.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1294, allocations: 3.938 kB / 430.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1294, allocations: 0 / 430.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.37e-05/0.1295, allocations: 15.98 kB / 430.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1297, allocations: 153.7 kB / 430.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1298, allocations: 38.56 kB / 430.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.1299, allocations: 28.86 kB / 430.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1299, allocations: 4 kB / 430.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1299, allocations: 34.56 kB / 430.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1299, allocations: 0 / 430.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002138/0.1302, allocations: 69.56 kB / 430.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.1302, allocations: 59.34 kB / 430.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.1303, allocations: 101.8 kB / 430.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1303, allocations: 29.7 kB / 430.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.1304, allocations: 80.14 kB / 431 MB, free: 1.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.1304, allocations: 8 kB / 431 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1304, allocations: 17.66 kB / 431 MB, free: 1.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1306, allocations: 314.8 kB / 431.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.1306, allocations: 3.984 kB / 431.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.1306, allocations: 27.44 kB / 431.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/0.1307, allocations: 39.38 kB / 431.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1307, allocations: 0 / 431.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.47e-05/0.1308, allocations: 57.88 kB / 431.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1308, allocations: 8.125 kB / 431.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1308, allocations: 7.938 kB / 431.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1308, allocations: 3.938 kB / 431.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.1308, allocations: 8 kB / 431.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1309, allocations: 3.984 kB / 431.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.1309, allocations: 4 kB / 431.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.1309, allocations: 7.922 kB / 431.5 MB, free: 0.6758 MB / 350.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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.945e-05/0.131, allocations: 109.8 kB / 431.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1311, allocations: 57.64 kB / 431.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.1311, allocations: 11.44 kB / 431.7 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1311, allocations: 0 / 431.7 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1311, allocations: 0 / 431.7 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1311, allocations: 0 / 431.7 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.1312, allocations: 153.7 kB / 431.8 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1313, allocations: 3.984 kB / 431.8 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.1313, allocations: 4 kB / 431.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1313, allocations: 336 / 431.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1313, allocations: 3.938 kB / 431.8 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1313, allocations: 0 / 431.8 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.1313, allocations: 3.938 kB / 431.8 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.1314, allocations: 85.11 kB / 431.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.1315, allocations: 89 kB / 432 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1315, allocations: 7.922 kB / 432 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.1315, allocations: 0 / 432 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-06/0.1315, allocations: 4 kB / 432 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1315, allocations: 0 / 432 MB, free: 44 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.294e-05/0.1316, allocations: 79.28 kB / 432.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1316, allocations: 4 kB / 432.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.1318, allocations: 8 kB / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0001181/0.1319, allocations: 99.23 kB / 432.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1321, allocations: 23.88 kB / 432.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1321, allocations: 0 / 432.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.1321, allocations: 0 / 432.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.1323, allocations: 26.36 kB / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.1326, allocations: 147.5 kB / 432.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1329, allocations: 0.6807 MB / 433.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.1329, allocations: 7.438 kB / 433.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1329, allocations: 3.938 kB / 433.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of Templates: time 0.002157/0.1351, allocations: 0.5356 MB / 433.6 MB, free: 14.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.555462711956352]