Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001319/0.001319, 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.001331/0.001331, allocations: 194.3 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.347/1.347, 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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 47.92 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2409, allocations: 52.18 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002629/0.2435, allocations: 1.439 MB / 424 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001736/0.2437, allocations: 27.91 kB / 424 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.2438, allocations: 7.938 kB / 424 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.2438, allocations: 4 kB / 424 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.2438, allocations: 3.938 kB / 424 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.2441, allocations: 19.97 kB / 424.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.533e-05/0.2442, allocations: 27.92 kB / 424.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2443, allocations: 7.984 kB / 424.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.2443, allocations: 11.94 kB / 424.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.2443, allocations: 15.92 kB / 424.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.2444, allocations: 4 kB / 424.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.2444, allocations: 4 kB / 424.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.2444, allocations: 3.984 kB / 424.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.2444, allocations: 15.94 kB / 424.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2445, allocations: 41.45 kB / 424.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2445, allocations: 0 / 424.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2445, allocations: 0 / 424.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2445, allocations: 0 / 424.2 MB, free: 12.73 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.0004371/0.245, allocations: 270.2 kB / 424.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.245, allocations: 11.97 kB / 424.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.2451, allocations: 38.75 kB / 424.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.2451, allocations: 0.9375 kB / 424.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.2453, allocations: 130.4 kB / 424.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.2453, allocations: 4.375 kB / 424.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.2453, allocations: 4.375 kB / 424.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.2457, allocations: 119.8 kB / 424.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2457, allocations: 7.938 kB / 424.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2457, allocations: 3.938 kB / 424.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2457, allocations: 0 / 424.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.2458, allocations: 19.98 kB / 424.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.2459, allocations: 128.8 kB / 424.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.2461, allocations: 50.55 kB / 425 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2462, allocations: 28.92 kB / 425 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.2462, allocations: 4 kB / 425 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.2462, allocations: 38.55 kB / 425 MB, free: 11.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2462, allocations: 0 / 425 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002593/0.2465, allocations: 93.61 kB / 425.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.2465, allocations: 55.34 kB / 425.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.2466, allocations: 105.8 kB / 425.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2466, allocations: 29.7 kB / 425.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.2467, allocations: 84.14 kB / 425.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.2467, allocations: 0 / 425.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.2467, allocations: 21.72 kB / 425.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2469, allocations: 318.8 kB / 425.7 MB, free: 11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.2469, allocations: 4 kB / 425.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.2469, allocations: 35.38 kB / 425.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.247, allocations: 31.44 kB / 425.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.247, allocations: 0 / 425.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.171e-05/0.2471, allocations: 69.52 kB / 425.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2471, allocations: 7.938 kB / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2471, allocations: 0 / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2471, allocations: 4 kB / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.2471, allocations: 15.98 kB / 425.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2472, allocations: 0 / 425.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.2472, allocations: 0 / 425.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.2472, allocations: 4 kB / 425.9 MB, free: 10.8 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 7.848e-05/0.2473, allocations: 113.8 kB / 426 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.2474, allocations: 69.61 kB / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.2474, allocations: 16 kB / 426.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2474, allocations: 0 / 426.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2474, allocations: 0 / 426.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2474, allocations: 3.984 kB / 426.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.759e-05/0.2475, allocations: 116.8 kB / 426.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2475, allocations: 0 / 426.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.2476, allocations: 15.98 kB / 426.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.2476, allocations: 3.938 kB / 426.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2476, allocations: 0 / 426.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.2476, allocations: 7.938 kB / 426.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2476, allocations: 4.375 kB / 426.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.2478, allocations: 96.98 kB / 426.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.2478, allocations: 0 / 426.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.2478, allocations: 7.938 kB / 426.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.04e-05/0.2478, allocations: 4 kB / 426.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-06/0.2478, allocations: 4 kB / 426.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2478, allocations: 0 / 426.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.2479, allocations: 87.27 kB / 426.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2479, allocations: 0 / 426.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001796/0.2481, allocations: 4 kB / 426.4 MB, free: 10.17 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.0005745/0.2486, allocations: 0.6592 MB / 427.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.2488, allocations: 23.98 kB / 427.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2488, allocations: 0 / 427.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2488, allocations: 0 / 427.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2491, allocations: 35.03 kB / 427.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2502, allocations: 1.174 MB / 428.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.159e-05/0.2502, allocations: 71.52 kB / 428.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.278e-05/0.2502, allocations: 7.984 kB / 428.4 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.2503, allocations: 11.44 kB / 428.4 MB, free: 8.043 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2503, allocations: 0 / 428.4 MB, free: 8.043 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.2774, allocations: 1.879 MB / 430.3 MB, free: 6.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.56, allocations: 14.11 kB / 430.3 MB, free: 6.297 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.833700988907367]