Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001809/0.001809, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 205.1 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 64.08 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2423, allocations: 53.41 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003047/0.2454, allocations: 1.533 MB / 432.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004454/0.2458, allocations: 135.5 kB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-05/0.2459, allocations: 7.938 kB / 432.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.089e-05/0.2459, allocations: 3.938 kB / 432.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.2461, allocations: 7.938 kB / 432.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.2463, allocations: 39.89 kB / 432.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2464, allocations: 35.86 kB / 432.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2466, allocations: 11.98 kB / 432.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.2466, allocations: 11.94 kB / 432.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.2466, allocations: 11.92 kB / 432.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.2467, allocations: 4 kB / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.2467, allocations: 7.938 kB / 432.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.2467, allocations: 8 kB / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.2468, allocations: 23.84 kB / 433 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.2469, allocations: 53.39 kB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2469, allocations: 0 / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2469, allocations: 0 / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2469, allocations: 0 / 433 MB, free: 4.715 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.0005064/0.2474, allocations: 298 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2475, allocations: 15.98 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.2475, allocations: 30.75 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.2475, allocations: 12.89 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.2478, allocations: 134.4 kB / 433.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2479, allocations: 8.375 kB / 433.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2479, allocations: 8.375 kB / 433.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.2482, allocations: 117.5 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2482, allocations: 3.938 kB / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.2482, allocations: 4 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2482, allocations: 0 / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.2483, allocations: 19.98 kB / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.2486, allocations: 228.8 kB / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.2488, allocations: 65.08 kB / 433.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.2489, allocations: 25.77 kB / 434 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2489, allocations: 4 kB / 434 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.2489, allocations: 34.5 kB / 434 MB, free: 3.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2489, allocations: 0 / 434 MB, free: 3.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002524/0.2492, allocations: 73.62 kB / 434.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.2493, allocations: 89.17 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2494, allocations: 142 kB / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2494, allocations: 25.7 kB / 434.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.2495, allocations: 88.14 kB / 434.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.2495, allocations: 3.953 kB / 434.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.2495, allocations: 17.72 kB / 434.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2496, allocations: 318.8 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.2497, allocations: 8 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.2497, allocations: 31.42 kB / 434.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.191e-05/0.2498, allocations: 47.36 kB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2498, allocations: 3.938 kB / 434.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001291/0.25, allocations: 69.61 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.25, allocations: 4 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.25, allocations: 0 / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.25, allocations: 4.125 kB / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.2501, allocations: 16.22 kB / 434.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2501, allocations: 0 / 434.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.912e-05/0.2501, allocations: 11.94 kB / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2501, allocations: 0 / 434.9 MB, free: 2.535 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.0001117/0.2502, allocations: 122.7 kB / 435.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.2503, allocations: 49.67 kB / 435.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.2503, allocations: 8.344 kB / 435.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2504, allocations: 4 kB / 435.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2504, allocations: 0 / 435.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2504, allocations: 4 kB / 435.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.2505, allocations: 144.6 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2505, allocations: 3.938 kB / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.2506, allocations: 8 kB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2506, allocations: 0 / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2506, allocations: 8 kB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2506, allocations: 0 / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2506, allocations: 0 / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.2508, allocations: 168.3 kB / 435.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.2508, allocations: 11.98 kB / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.2509, allocations: 12 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.2509, allocations: 3.938 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.251, allocations: 7.938 kB / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.251, allocations: 0 / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.2511, allocations: 114.7 kB / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2511, allocations: 0 / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000222/0.2513, allocations: 4 kB / 435.6 MB, free: 1.793 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.0005498/0.2518, allocations: 0.6976 MB / 436.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.252, allocations: 35.91 kB / 436.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.252, allocations: 0 / 436.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.252, allocations: 4 kB / 436.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.2524, allocations: 26.7 kB / 436.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.2537, allocations: 1.322 MB / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.699e-05/0.2538, allocations: 75.33 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.657e-05/0.2538, allocations: 0 / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.2538, allocations: 19.42 kB / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2538, allocations: 0 / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.2811, allocations: 2.008 MB / 439.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.1, allocations: 3.438 kB / 439.8 MB, free: 13.57 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.751296344213188]