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.00137/0.00137, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 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.001356/0.001356, allocations: 159.1 kB / 24.48 MB, free: 3.465 MB / 14.72 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.384/1.384, allocations: 173.4 MB / 201.1 MB, free: 12.57 MB / 190.1 MB " [Timeout remaining time 179] 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 0.001573/0.001573, allocations: 45.77 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.0893, allocations: 52.17 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002734/0.09203, allocations: 1.517 MB / 373.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003838/0.09241, allocations: 131.6 kB / 373.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.09248, allocations: 0 / 373.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.039e-05/0.09253, allocations: 7.938 kB / 373.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.09264, allocations: 11.92 kB / 373.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.09286, allocations: 39.89 kB / 373.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.866e-05/0.09295, allocations: 31.92 kB / 373.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.09304, allocations: 15.92 kB / 373.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.09307, allocations: 11.92 kB / 373.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.689e-05/0.09311, allocations: 19.86 kB / 373.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.09312, allocations: 0 / 373.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.09313, allocations: 4 kB / 373.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.09318, allocations: 8 kB / 373.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.09321, allocations: 15.88 kB / 373.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.09332, allocations: 55.69 kB / 373.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.09332, allocations: 3.984 kB / 373.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09332, allocations: 0 / 373.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.09333, allocations: 0 / 373.4 MB, free: 5.469 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.0004264/0.09375, allocations: 286.1 kB / 373.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.09379, allocations: 12.91 kB / 373.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.09382, allocations: 8.891 kB / 373.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.09404, allocations: 134.4 kB / 373.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.09405, allocations: 384 / 373.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.09406, allocations: 8.375 kB / 373.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.09432, allocations: 121.5 kB / 374 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.09433, allocations: 192 / 374 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.09434, allocations: 11.94 kB / 374 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.09434, allocations: 0 / 374 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.0944, allocations: 15.98 kB / 374 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.09467, allocations: 201.4 kB / 374.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.0948, allocations: 57.2 kB / 374.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.09486, allocations: 29.77 kB / 374.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.09488, allocations: 7.875 kB / 374.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.09491, allocations: 30.56 kB / 374.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.09491, allocations: 0 / 374.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002144/0.09512, allocations: 81.44 kB / 374.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.09518, allocations: 85.11 kB / 374.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.0953, allocations: 129.3 kB / 374.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.09532, allocations: 33.83 kB / 374.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.09537, allocations: 84.09 kB / 374.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.09538, allocations: 4 kB / 374.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.09541, allocations: 21.7 kB / 374.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.09555, allocations: 314.8 kB / 375.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.09558, allocations: 4 kB / 375.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.09562, allocations: 35.42 kB / 375.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.397e-05/0.0957, allocations: 47.36 kB / 375.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.0957, allocations: 0 / 375.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.09582, allocations: 69.45 kB / 375.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.09583, allocations: 4 kB / 375.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.09583, allocations: 0 / 375.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.09585, allocations: 4 kB / 375.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-06/0.09586, allocations: 0 / 375.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.09586, allocations: 4 kB / 375.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.09589, allocations: 4.125 kB / 375.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.0959, allocations: 4 kB / 375.3 MB, free: 3.426 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 8.528e-05/0.09599, allocations: 117.8 kB / 375.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.09606, allocations: 57.81 kB / 375.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.0961, allocations: 11.98 kB / 375.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.0961, allocations: 4.031 kB / 375.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.09611, allocations: 0 / 375.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.09611, allocations: 0 / 375.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.09625, allocations: 117.2 kB / 375.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.09625, allocations: 4 kB / 375.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-06/0.09626, allocations: 4 kB / 375.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.09626, allocations: 3.938 kB / 375.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.09627, allocations: 0 / 375.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.09627, allocations: 0 / 375.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.09627, allocations: 7.984 kB / 375.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.09644, allocations: 160.3 kB / 375.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.09648, allocations: 15.92 kB / 375.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.09649, allocations: 8 kB / 375.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.09654, allocations: 3.938 kB / 375.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.09657, allocations: 0 / 375.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.09657, allocations: 4 kB / 375.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.576e-05/0.09665, allocations: 107.2 kB / 375.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09665, allocations: 0 / 375.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.09687, allocations: 4 kB / 375.9 MB, free: 2.734 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 9.159e-05/0.09697, allocations: 99.19 kB / 376 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.09708, allocations: 27.92 kB / 376 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.09709, allocations: 0 / 376 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.09711, allocations: 8 kB / 376 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.09742, allocations: 24.33 kB / 376 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.09771, allocations: 162.1 kB / 376.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.285e-05/0.09779, allocations: 67.34 kB / 376.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.891e-05/0.09781, allocations: 3.984 kB / 376.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.09783, allocations: 12.5 kB / 376.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.09783, allocations: 0 / 376.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of Templates: time 0.002822/0.1007, allocations: 0.5328 MB / 376.8 MB, free: 1.762 MB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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.079210149939172]