Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001875/0.001875, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002122/0.002122, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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 1.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 7.805 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+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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2356, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002811/0.2384, allocations: 1.508 MB / 433.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003848/0.2388, allocations: 131.5 kB / 434 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.2388, allocations: 4 kB / 434 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/0.2389, allocations: 7.938 kB / 434 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.239, allocations: 7.938 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.2392, allocations: 39.89 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.2393, allocations: 23.92 kB / 434 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.2394, allocations: 7.797 kB / 434.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.2394, allocations: 15.88 kB / 434.1 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.147e-05/0.2394, allocations: 15.92 kB / 434.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2394, allocations: 4 kB / 434.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.2394, allocations: 0 / 434.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.2395, allocations: 23.84 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.2395, allocations: 11.88 kB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.931e-05/0.2396, allocations: 39.84 kB / 434.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2396, allocations: 0 / 434.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2396, allocations: 0 / 434.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2396, allocations: 0 / 434.2 MB, free: 4.906 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004078/0.24, allocations: 284.9 kB / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2401, allocations: 8.031 kB / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.2401, allocations: 8.891 kB / 434.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.2403, allocations: 130.4 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2403, allocations: 4.375 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2403, allocations: 8.375 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.2406, allocations: 85.61 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2406, allocations: 192 / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2406, allocations: 3.938 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2406, allocations: 0 / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.793e-05/0.2406, allocations: 19.92 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.2409, allocations: 205.5 kB / 434.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.313e-05/0.241, allocations: 45.08 kB / 434.9 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.241, allocations: 17.84 kB / 435 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.2411, allocations: 11.92 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.2411, allocations: 34.56 kB / 435 MB, free: 3.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2411, allocations: 0 / 435 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001951/0.2413, allocations: 61.52 kB / 435.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.2413, allocations: 81.11 kB / 435.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2415, allocations: 129.8 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2415, allocations: 25.7 kB / 435.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.2415, allocations: 84.39 kB / 435.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.2416, allocations: 7.953 kB / 435.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.2416, allocations: 21.7 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2417, allocations: 310.8 kB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.2418, allocations: 8 kB / 435.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.2418, allocations: 17.66 kB / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.451e-05/0.2418, allocations: 25.7 kB / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2418, allocations: 0 / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.424e-05/0.2419, allocations: 53.62 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2419, allocations: 4 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.242, allocations: 3.938 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.242, allocations: 4 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.308e-05/0.242, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.242, allocations: 3.984 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.242, allocations: 0 / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.242, allocations: 12 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.444e-05/0.2421, allocations: 113.8 kB / 436 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.2422, allocations: 53.59 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.2422, allocations: 7.422 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2422, allocations: 7.984 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2422, allocations: 0 / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2422, allocations: 0 / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2424, allocations: 113.3 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.2424, allocations: 0 / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-06/0.2424, allocations: 0 / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2424, allocations: 3.938 kB / 436.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.2424, allocations: 4 kB / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2424, allocations: 4.031 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2424, allocations: 0 / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.2425, allocations: 148.4 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.2426, allocations: 23.81 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2426, allocations: 4 kB / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.2426, allocations: 3.938 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.2427, allocations: 0 / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.2427, allocations: 4 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.2428, allocations: 106.6 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2428, allocations: 0 / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.243, allocations: 8.031 kB / 436.4 MB, free: 2.348 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.825e-05/0.2431, allocations: 95.25 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.2432, allocations: 15.98 kB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2432, allocations: 0 / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.2432, allocations: 7.938 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2435, allocations: 15.97 kB / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.2438, allocations: 142.7 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.099e-05/0.2439, allocations: 71.34 kB / 436.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.979e-05/0.2439, allocations: 3.984 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.2439, allocations: 15.44 kB / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2439, allocations: 0 / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of Templates: time 0.002874/0.2468, allocations: 493.8 kB / 437.3 MB, free: 1.457 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.231416315000388]