Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001268/0.001268, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001322/0.001322, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.352/1.352, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 51.86 kB / 370.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2341, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002806/0.2369, allocations: 1.466 MB / 424 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000205/0.2371, allocations: 27.91 kB / 424.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.2372, allocations: 7.938 kB / 424.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.2372, allocations: 0 / 424.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.2373, allocations: 3.938 kB / 424.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.2375, allocations: 23.97 kB / 424.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.832e-05/0.2376, allocations: 31.86 kB / 424.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.2377, allocations: 11.98 kB / 424.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.2378, allocations: 11.98 kB / 424.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.2378, allocations: 11.92 kB / 424.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2378, allocations: 7.938 kB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.2378, allocations: 4 kB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.2378, allocations: 4 kB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.2379, allocations: 7.938 kB / 424.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.607e-05/0.238, allocations: 36.81 kB / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.238, allocations: 3.984 kB / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.238, allocations: 0 / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.238, allocations: 0 / 424.2 MB, free: 12.74 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.0003975/0.2384, allocations: 273.7 kB / 424.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2384, allocations: 12.02 kB / 424.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.2385, allocations: 34.75 kB / 424.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.2385, allocations: 0.9375 kB / 424.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.2387, allocations: 134.3 kB / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.2387, allocations: 384 / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2387, allocations: 4.375 kB / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.2391, allocations: 119.9 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2391, allocations: 3.938 kB / 424.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.2391, allocations: 3.938 kB / 424.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2391, allocations: 0 / 424.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.2392, allocations: 27.97 kB / 424.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.2394, allocations: 124.8 kB / 425 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2395, allocations: 54.53 kB / 425 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.506e-05/0.2396, allocations: 24.92 kB / 425 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.2396, allocations: 4 kB / 425 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2396, allocations: 30.56 kB / 425.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.226e-06/0.2396, allocations: 4 kB / 425.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002668/0.2399, allocations: 89.48 kB / 425.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.24, allocations: 55.41 kB / 425.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.2401, allocations: 105.8 kB / 425.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2401, allocations: 25.7 kB / 425.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.2401, allocations: 84.14 kB / 425.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.2401, allocations: 7.984 kB / 425.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2402, allocations: 13.72 kB / 425.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2403, allocations: 314.8 kB / 425.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.2403, allocations: 4 kB / 425.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.2404, allocations: 39.36 kB / 425.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.2404, allocations: 35.44 kB / 425.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2404, allocations: 0 / 425.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/0.2405, allocations: 65.94 kB / 425.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2405, allocations: 7.938 kB / 425.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2405, allocations: 0 / 425.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2405, allocations: 4.125 kB / 425.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.2406, allocations: 15.94 kB / 425.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2406, allocations: 4 kB / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.2406, allocations: 3.953 kB / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.2406, allocations: 4 kB / 425.9 MB, free: 10.82 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: 2 ($CLKPRE.step.counter,step.counter) * 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.71e-05/0.2407, allocations: 117.8 kB / 426 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.2409, allocations: 65.55 kB / 426.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.2409, allocations: 8 kB / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2409, allocations: 4 kB / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.2409, allocations: 0 / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2409, allocations: 0 / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.588e-05/0.241, allocations: 124.8 kB / 426.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.241, allocations: 0 / 426.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.2411, allocations: 19.92 kB / 426.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2411, allocations: 3.938 kB / 426.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2411, allocations: 0 / 426.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2411, allocations: 0 / 426.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2411, allocations: 0 / 426.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.2413, allocations: 97 kB / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.2413, allocations: 0 / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2413, allocations: 7.922 kB / 426.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.2413, allocations: 4.281 kB / 426.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-06/0.2413, allocations: 4 kB / 426.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2413, allocations: 4 kB / 426.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.2414, allocations: 83.28 kB / 426.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2414, allocations: 0 / 426.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001833/0.2416, allocations: 7.984 kB / 426.5 MB, free: 10.19 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: 1 (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.0005909/0.2422, allocations: 0.6514 MB / 427.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.2423, allocations: 31.97 kB / 427.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2423, allocations: 320 / 427.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.2423, allocations: 4 kB / 427.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2426, allocations: 31.94 kB / 427.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2437, allocations: 1.181 MB / 428.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.2437, allocations: 71.2 kB / 428.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.2437, allocations: 0 / 428.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.2438, allocations: 15.42 kB / 428.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2438, allocations: 0 / 428.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.2714, allocations: 1.891 MB / 430.3 MB, free: 6.316 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.78, allocations: 12.05 kB / 430.4 MB, free: 6.305 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 13.017264791298658]