Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001486/0.001486, allocations: 103.5 kB / 20.43 MB, free: 1.328 MB / 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.001629/0.001629, allocations: 180.1 kB / 23.7 MB, free: 4.52 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.334/1.334, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 43.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002642/0.2383, allocations: 1.435 MB / 424 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.2385, allocations: 27.91 kB / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.2386, allocations: 7.938 kB / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.2386, allocations: 0 / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.2386, allocations: 3.938 kB / 424 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.2388, allocations: 27.97 kB / 424.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.2389, allocations: 27.86 kB / 424.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.239, allocations: 11.8 kB / 424.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.239, allocations: 15.97 kB / 424.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.688e-05/0.2391, allocations: 11.92 kB / 424.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2391, allocations: 4 kB / 424.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.2391, allocations: 0 / 424.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.2391, allocations: 11.94 kB / 424.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.2392, allocations: 7.938 kB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.715e-05/0.2392, allocations: 27.89 kB / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2392, allocations: 4 kB / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2392, allocations: 4 kB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2393, allocations: 0 / 424.2 MB, free: 12.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003853/0.2396, allocations: 268.1 kB / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2397, allocations: 8.031 kB / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.2397, allocations: 34.75 kB / 424.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.2397, allocations: 4.938 kB / 424.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.2399, allocations: 126.4 kB / 424.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2399, allocations: 384 / 424.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.24, allocations: 8.375 kB / 424.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.2403, allocations: 123.8 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2403, allocations: 3.938 kB / 424.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.2403, allocations: 0 / 424.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2403, allocations: 0 / 424.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.2404, allocations: 15.98 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.2405, allocations: 128.7 kB / 424.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.2407, allocations: 50.5 kB / 424.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.2407, allocations: 24.92 kB / 425 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2408, allocations: 4 kB / 425 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2408, allocations: 34.56 kB / 425 MB, free: 11.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2408, allocations: 0 / 425 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002395/0.241, allocations: 85.52 kB / 425.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.2411, allocations: 59.34 kB / 425.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.2412, allocations: 105.8 kB / 425.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2412, allocations: 29.7 kB / 425.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.2412, allocations: 80.14 kB / 425.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.2412, allocations: 7.953 kB / 425.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2413, allocations: 17.72 kB / 425.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2414, allocations: 318.8 kB / 425.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.2414, allocations: 4 kB / 425.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.2415, allocations: 31.44 kB / 425.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.2415, allocations: 39.36 kB / 425.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.2415, allocations: 0 / 425.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.252e-05/0.2416, allocations: 57.64 kB / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2416, allocations: 8.062 kB / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2416, allocations: 7.984 kB / 425.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2416, allocations: 4 kB / 425.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.2417, allocations: 7.938 kB / 425.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.2417, allocations: 0 / 425.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.2417, allocations: 4 kB / 425.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.2417, allocations: 0 / 425.9 MB, free: 10.86 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.483e-05/0.2418, allocations: 113.8 kB / 426 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.2419, allocations: 65.56 kB / 426 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.242, allocations: 7.688 kB / 426 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.242, allocations: 4 kB / 426 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.242, allocations: 0 / 426 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.242, allocations: 7.938 kB / 426.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.111e-05/0.242, allocations: 124.8 kB / 426.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2421, allocations: 0 / 426.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.2421, allocations: 0 / 426.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2421, allocations: 11.92 kB / 426.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2421, allocations: 0 / 426.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2421, allocations: 3.938 kB / 426.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2421, allocations: 3.938 kB / 426.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.2422, allocations: 85.11 kB / 426.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.2423, allocations: 7.953 kB / 426.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.2423, allocations: 7.938 kB / 426.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.2423, allocations: 384 / 426.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-06/0.2423, allocations: 0 / 426.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2423, allocations: 7.984 kB / 426.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.404e-05/0.2424, allocations: 87.28 kB / 426.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2424, allocations: 0 / 426.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001805/0.2425, allocations: 4 kB / 426.4 MB, free: 10.25 MB / 334.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005732/0.2431, allocations: 0.6397 MB / 427 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.2432, allocations: 31.98 kB / 427.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2432, allocations: 0 / 427.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2432, allocations: 0 / 427.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.2434, allocations: 28.47 kB / 427.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2445, allocations: 1.166 MB / 428.3 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.2445, allocations: 67.2 kB / 428.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.2445, allocations: 4 kB / 428.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.2446, allocations: 11.78 kB / 428.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2446, allocations: 4 kB / 428.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.2705, allocations: 1.805 MB / 430.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.66, allocations: 9.266 kB / 430.2 MB, free: 6.469 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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: 12.867280851583928]