Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 87.92 kB / 20.96 MB, free: 3.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002408/0.002408, allocations: 145.1 kB / 24.26 MB, free: 300 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.589e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002909/0.002935, allocations: 1.522 MB / 268.8 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004037/0.003338, allocations: 143.4 kB / 269 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.003415, allocations: 3.938 kB / 269 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.446e-05/0.00347, allocations: 3.938 kB / 269 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.003589, allocations: 4 kB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.003822, allocations: 39.77 kB / 269 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003926, allocations: 35.86 kB / 269.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.004018, allocations: 11.98 kB / 269.1 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.004077, allocations: 23.92 kB / 269.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.141e-05/0.004108, allocations: 7.984 kB / 269.1 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.00413, allocations: 4 kB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-06/0.004139, allocations: 0 / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.004191, allocations: 19.92 kB / 269.1 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.004218, allocations: 4 kB / 269.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.00435, allocations: 47.81 kB / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004352, allocations: 0 / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004353, allocations: 0 / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004357, allocations: 0 / 269.2 MB, free: 4.875 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.0005282/0.004885, allocations: 392 kB / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.004919, allocations: 12.92 kB / 269.6 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.004975, allocations: 20.84 kB / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.005197, allocations: 136.4 kB / 269.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.005218, allocations: 4.375 kB / 269.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.005231, allocations: 8.375 kB / 269.7 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.005539, allocations: 120.9 kB / 269.9 MB, free: 4.109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.005549, allocations: 4.188 kB / 269.9 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.005557, allocations: 384 / 269.9 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.005565, allocations: 4.375 kB / 269.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.005637, allocations: 23.86 kB / 269.9 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.006003, allocations: 267.5 kB / 270.1 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.006192, allocations: 70.11 kB / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.006273, allocations: 35.42 kB / 270.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.006295, allocations: 0 / 270.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.006334, allocations: 41.39 kB / 270.3 MB, free: 3.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.006335, allocations: 4 kB / 270.3 MB, free: 3.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002619/0.006597, allocations: 77.5 kB / 270.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.006669, allocations: 81.11 kB / 270.4 MB, free: 3.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.006853, allocations: 201.2 kB / 270.6 MB, free: 3.195 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.006874, allocations: 25.7 kB / 270.7 MB, free: 3.164 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.006972, allocations: 142.8 kB / 270.8 MB, free: 3.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-06/0.006979, allocations: 0 / 270.8 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.007022, allocations: 19.38 kB / 270.8 MB, free: 2.992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002841/0.007306, allocations: 0.4884 MB / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.007338, allocations: 12.06 kB / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.007358, allocations: 7.938 kB / 271.3 MB, free: 2.473 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.294e-05/0.007411, allocations: 19.69 kB / 271.4 MB, free: 2.449 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007413, allocations: 0 / 271.4 MB, free: 2.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.939e-05/0.007502, allocations: 41.64 kB / 271.4 MB, free: 2.402 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.007516, allocations: 4 kB / 271.4 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.007522, allocations: 3.938 kB / 271.4 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.007536, allocations: 4 kB / 271.4 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-06/0.007544, allocations: 96 / 271.4 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.007548, allocations: 4 kB / 271.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.00757, allocations: 3.984 kB / 271.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.007575, allocations: 0 / 271.4 MB, free: 2.383 MB / 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 0.0001174/0.007692, allocations: 164.5 kB / 271.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.007765, allocations: 41.7 kB / 271.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.00781, allocations: 19.92 kB / 271.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007812, allocations: 0 / 271.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.007815, allocations: 0 / 271.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007818, allocations: 0 / 271.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.007991, allocations: 132.6 kB / 271.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007992, allocations: 4 kB / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-06/0.007999, allocations: 0 / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.008004, allocations: 4 kB / 271.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.00801, allocations: 0 / 271.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.008014, allocations: 3.938 kB / 271.8 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.008017, allocations: 3.984 kB / 271.8 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.008248, allocations: 215.6 kB / 272 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.008282, allocations: 11.94 kB / 272 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.008305, allocations: 12.28 kB / 272 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.008358, allocations: 3.938 kB / 272 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.008388, allocations: 4 kB / 272 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.008395, allocations: 4 kB / 272 MB, free: 1.688 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.896e-05/0.008494, allocations: 139.2 kB / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008494, allocations: 0 / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.008699, allocations: 8 kB / 272.2 MB, free: 1.543 MB / 250.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 0.0001158/0.008815, allocations: 99.23 kB / 272.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.008943, allocations: 31.61 kB / 272.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.008945, allocations: 0 / 272.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.008984, allocations: 23.67 kB / 272.3 MB, free: 1.375 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.009322, allocations: 20.81 kB / 272.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.009675, allocations: 172.5 kB / 272.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.46e-05/0.00976, allocations: 71.33 kB / 272.6 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.506e-05/0.009775, allocations: 4 kB / 272.6 MB, free: 1.059 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.009802, allocations: 8.5 kB / 272.6 MB, free: 1.051 MB / 250.7 MB Notification: Performance of SimCode: time 4.3e-07/0.009803, allocations: 0 / 272.6 MB, free: 1.051 MB / 250.7 MB Notification: Performance of Templates: time 0.003327/0.01313, allocations: 0.5203 MB / 273.1 MB, free: 0.5391 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.393791755894199]