Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001241/0.001241, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001359/0.001359, allocations: 189.9 kB / 23.72 MB, free: 4.684 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.381/1.381, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 47.94 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2429, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002744/0.2457, allocations: 1.451 MB / 424.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002793/0.246, allocations: 91.69 kB / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.246, allocations: 4 kB / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.2461, allocations: 7.922 kB / 424.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.2461, allocations: 7.922 kB / 424.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.2463, allocations: 19.98 kB / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.2464, allocations: 19.94 kB / 424.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2465, allocations: 15.97 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.2466, allocations: 11.94 kB / 424.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.2466, allocations: 15.92 kB / 424.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.2466, allocations: 0 / 424.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.2466, allocations: 4 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.2467, allocations: 3.938 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.2467, allocations: 11.94 kB / 424.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/0.2468, allocations: 32.81 kB / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2468, allocations: 3.938 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2468, allocations: 0 / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2468, allocations: 4 kB / 424.3 MB, free: 12.91 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.0004192/0.2472, allocations: 273.7 kB / 424.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2473, allocations: 12.03 kB / 424.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.2473, allocations: 30.75 kB / 424.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.2473, allocations: 8.938 kB / 424.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.2475, allocations: 118.4 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2476, allocations: 4.375 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.2476, allocations: 4.375 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2479, allocations: 103.9 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2479, allocations: 7.938 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.2479, allocations: 0 / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2479, allocations: 3.938 kB / 424.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.248, allocations: 27.91 kB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.2481, allocations: 128.8 kB / 425 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.2483, allocations: 50.55 kB / 425.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.454e-05/0.2483, allocations: 24.92 kB / 425.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2484, allocations: 0 / 425.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2484, allocations: 30.56 kB / 425.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.2484, allocations: 4 kB / 425.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000213/0.2486, allocations: 81.69 kB / 425.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.2487, allocations: 55.39 kB / 425.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.2487, allocations: 105.8 kB / 425.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2488, allocations: 29.7 kB / 425.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.2488, allocations: 80.14 kB / 425.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.2488, allocations: 0 / 425.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.2488, allocations: 21.72 kB / 425.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.249, allocations: 322.8 kB / 425.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.249, allocations: 0 / 425.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/0.249, allocations: 23.44 kB / 425.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.2491, allocations: 39.38 kB / 425.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2491, allocations: 0 / 425.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.929e-05/0.2492, allocations: 57.56 kB / 425.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2492, allocations: 7.938 kB / 425.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2492, allocations: 4 kB / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2492, allocations: 0 / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/0.2492, allocations: 7.984 kB / 426 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2492, allocations: 8.125 kB / 426 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.2493, allocations: 0 / 426 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2493, allocations: 11.94 kB / 426 MB, free: 11.04 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 7.677e-05/0.2493, allocations: 105.8 kB / 426.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2495, allocations: 69.52 kB / 426.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.2495, allocations: 7.984 kB / 426.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2495, allocations: 0 / 426.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2495, allocations: 0 / 426.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2495, allocations: 0 / 426.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.2496, allocations: 132.8 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2496, allocations: 0 / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.2496, allocations: 11.92 kB / 426.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.2497, allocations: 3.938 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2497, allocations: 4.25 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2497, allocations: 4 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2497, allocations: 0 / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.2498, allocations: 85.11 kB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.2498, allocations: 15.83 kB / 426.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2498, allocations: 7.938 kB / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.2498, allocations: 0 / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.2499, allocations: 0 / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.2499, allocations: 0 / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.15e-05/0.2499, allocations: 91.27 kB / 426.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2499, allocations: 0 / 426.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00018/0.2501, allocations: 4 kB / 426.5 MB, free: 10.42 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: 3 (step.y,assignClock1.u,assignClock1.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 0.0004254/0.2505, allocations: 0.6202 MB / 427.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.2506, allocations: 23.92 kB / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2506, allocations: 0 / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2506, allocations: 0 / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.2508, allocations: 31.73 kB / 427.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.2518, allocations: 1.151 MB / 428.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2521, allocations: 0.6844 MB / 429 MB, free: 7.758 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.379e-05/0.2521, allocations: 7.984 kB / 429 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.2521, allocations: 15.42 kB / 429 MB, free: 7.734 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2521, allocations: 0 / 429 MB, free: 7.734 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.2796, allocations: 1.34 MB / 430.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.93, allocations: 8.797 kB / 430.4 MB, free: 6.52 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.209669306175783]