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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 115.8 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 185.5 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009844/0.0009845, allocations: 44.03 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2316, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002642/0.2343, allocations: 1.498 MB / 402.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003635/0.2347, allocations: 147.5 kB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.2348, allocations: 4 kB / 403 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.2348, allocations: 7.922 kB / 403.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.2349, allocations: 7.938 kB / 403.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.2352, allocations: 42.59 kB / 403.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2353, allocations: 27.97 kB / 403.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2354, allocations: 15.98 kB / 403.1 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.2355, allocations: 15.92 kB / 403.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.2355, allocations: 15.88 kB / 403.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.2355, allocations: 4 kB / 403.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.2355, allocations: 7.938 kB / 403.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.2356, allocations: 11.98 kB / 403.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.2356, allocations: 23.8 kB / 403.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.2357, allocations: 43.83 kB / 403.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2358, allocations: 0 / 403.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2358, allocations: 0 / 403.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2358, allocations: 0 / 403.3 MB, free: 7.02 MB / 318.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.0004229/0.2362, allocations: 360.4 kB / 403.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2362, allocations: 12.03 kB / 403.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.2363, allocations: 12.84 kB / 403.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.2365, allocations: 200 kB / 403.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.2365, allocations: 8.312 kB / 403.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.2366, allocations: 4.375 kB / 403.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.2368, allocations: 117.5 kB / 404 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2368, allocations: 192 / 404 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2369, allocations: 7.938 kB / 404 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2369, allocations: 0 / 404 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.945e-05/0.2369, allocations: 15.98 kB / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.2372, allocations: 257.8 kB / 404.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.2374, allocations: 134.2 kB / 404.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.2375, allocations: 33.7 kB / 404.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2375, allocations: 0 / 404.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.2375, allocations: 30.56 kB / 404.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2375, allocations: 4 kB / 404.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002251/0.2378, allocations: 73.52 kB / 404.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.2378, allocations: 81.11 kB / 404.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.238, allocations: 129.8 kB / 404.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.238, allocations: 25.7 kB / 404.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.238, allocations: 84.14 kB / 404.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.238, allocations: 0 / 404.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.2381, allocations: 33.73 kB / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2382, allocations: 314.8 kB / 405.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/0.2382, allocations: 7.984 kB / 405.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.487e-05/0.2383, allocations: 31.44 kB / 405.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.561e-05/0.2384, allocations: 43.36 kB / 405.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2384, allocations: 0 / 405.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.2385, allocations: 65.5 kB / 405.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2385, allocations: 4 kB / 405.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2385, allocations: 4 kB / 405.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2385, allocations: 0 / 405.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.046e-05/0.2385, allocations: 4.125 kB / 405.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2386, allocations: 4 kB / 405.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.2386, allocations: 3.938 kB / 405.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2386, allocations: 4 kB / 405.3 MB, free: 4.656 MB / 318.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.392e-05/0.2387, allocations: 125.8 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.2388, allocations: 53.81 kB / 405.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.2388, allocations: 15.94 kB / 405.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2388, allocations: 0 / 405.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2388, allocations: 0 / 405.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2388, allocations: 4 kB / 405.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.239, allocations: 173.5 kB / 405.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.239, allocations: 4 kB / 405.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-06/0.239, allocations: 3.938 kB / 405.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.239, allocations: 0 / 405.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.239, allocations: 0 / 405.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2391, allocations: 8 kB / 405.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2391, allocations: 0 / 405.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.2392, allocations: 172.2 kB / 405.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.2393, allocations: 93 kB / 406 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.2393, allocations: 0 / 406 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.2394, allocations: 0 / 406 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.2394, allocations: 4 kB / 406 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2394, allocations: 0 / 406 MB, free: 3.902 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.055e-05/0.2395, allocations: 110.6 kB / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2395, allocations: 0 / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.2397, allocations: 4 kB / 406.1 MB, free: 3.793 MB / 318.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.623e-05/0.2398, allocations: 107.2 kB / 406.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.2399, allocations: 31.92 kB / 406.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2399, allocations: 0 / 406.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.24, allocations: 4 kB / 406.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.2403, allocations: 23.95 kB / 406.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.2406, allocations: 172.4 kB / 406.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.2409, allocations: 0.6961 MB / 407.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.2409, allocations: 7.438 kB / 407.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2409, allocations: 0 / 407.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of Templates: time 0.001975/0.2429, allocations: 0.6837 MB / 407.8 MB, free: 2 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) 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) Reference file matches