Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001238/0.001238, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001588/0.001588, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 8.008 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 51.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2627, allocations: 53.37 MB / 431.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003175/0.2659, allocations: 1.534 MB / 432.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004406/0.2663, allocations: 147.5 kB / 432.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.2664, allocations: 0 / 432.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.041e-05/0.2665, allocations: 3.938 kB / 432.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.2666, allocations: 11.92 kB / 432.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.2669, allocations: 31.91 kB / 432.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.267, allocations: 35.92 kB / 432.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2671, allocations: 15.97 kB / 432.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.2671, allocations: 7.938 kB / 432.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.2672, allocations: 23.8 kB / 432.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2672, allocations: 4 kB / 432.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.2672, allocations: 4 kB / 433 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.2673, allocations: 19.86 kB / 433 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.2673, allocations: 19.88 kB / 433 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2674, allocations: 51.12 kB / 433 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.2674, allocations: 0 / 433 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2675, allocations: 0 / 433 MB, free: 4.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.2675, allocations: 0 / 433 MB, free: 4.918 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005243/0.268, allocations: 299 kB / 433.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.268, allocations: 8.031 kB / 433.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.2681, allocations: 38.73 kB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.2681, allocations: 12.89 kB / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.2684, allocations: 130.4 kB / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2684, allocations: 4.375 kB / 433.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.2684, allocations: 4.375 kB / 433.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.2687, allocations: 113.6 kB / 433.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2687, allocations: 3.938 kB / 433.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2687, allocations: 0 / 433.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2687, allocations: 4 kB / 433.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.694e-05/0.2688, allocations: 19.92 kB / 433.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.2692, allocations: 232.8 kB / 433.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.2694, allocations: 65.08 kB / 434 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.2694, allocations: 33.75 kB / 434 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2695, allocations: 7.922 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2695, allocations: 38.56 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2695, allocations: 0 / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000264/0.2698, allocations: 77.56 kB / 434.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.2698, allocations: 81.11 kB / 434.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2699, allocations: 130.1 kB / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.27, allocations: 25.7 kB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.2701, allocations: 92.12 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.2701, allocations: 8.078 kB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.2701, allocations: 17.72 kB / 434.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2703, allocations: 314.8 kB / 434.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.2703, allocations: 12 kB / 434.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.2704, allocations: 35.36 kB / 434.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.808e-05/0.2705, allocations: 43.42 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2705, allocations: 3.938 kB / 434.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000138/0.2706, allocations: 69.5 kB / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2706, allocations: 8 kB / 434.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2706, allocations: 8.109 kB / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2706, allocations: 0 / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.2707, allocations: 8 kB / 434.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2707, allocations: 0 / 434.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.2707, allocations: 7.953 kB / 435 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2707, allocations: 4 kB / 435 MB, free: 2.742 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 0.0001477/0.2709, allocations: 125.7 kB / 435.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.271, allocations: 45.64 kB / 435.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.271, allocations: 20.33 kB / 435.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.271, allocations: 0 / 435.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.271, allocations: 0 / 435.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.271, allocations: 4 kB / 435.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.2712, allocations: 148.6 kB / 435.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2712, allocations: 0 / 435.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.2713, allocations: 8 kB / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2713, allocations: 0 / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2713, allocations: 3.984 kB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2713, allocations: 3.938 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2713, allocations: 3.984 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2715, allocations: 168.3 kB / 435.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.2715, allocations: 15.94 kB / 435.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2715, allocations: 4 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.2716, allocations: 3.984 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.2716, allocations: 384 / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2716, allocations: 4 kB / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.824e-05/0.2717, allocations: 113 kB / 435.6 MB, free: 2 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2717, allocations: 0 / 435.6 MB, free: 2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.2719, allocations: 4 kB / 435.6 MB, free: 1.996 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: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0005572/0.2725, allocations: 0.7054 MB / 436.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.2726, allocations: 35.91 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2726, allocations: 0 / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.269e-05/0.2727, allocations: 4 kB / 436.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.273, allocations: 26.52 kB / 436.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2745, allocations: 1.325 MB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.2748, allocations: 0.6885 MB / 438.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.852e-05/0.2748, allocations: 7.984 kB / 438.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.2749, allocations: 15.44 kB / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2749, allocations: 0 / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.305, allocations: 1.581 MB / 440 MB, free: 13.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.32, allocations: 8 kB / 440 MB, free: 13.58 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,step.startTime,assignClock.u,assignClock.y,sample1.y,step.y [Calling sys.exit(0), Time elapsed: 13.993841904000874]