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.001359/0.001359, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001502/0.001502, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.391/1.391, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.001546/0.001546, allocations: 51.86 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2578, allocations: 53.36 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002767/0.2606, allocations: 1.533 MB / 432.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003943/0.261, allocations: 139.5 kB / 432.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.2611, allocations: 7.938 kB / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.2611, allocations: 7.938 kB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.2612, allocations: 7.922 kB / 432.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2614, allocations: 39.84 kB / 432.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.2615, allocations: 31.86 kB / 432.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.2616, allocations: 11.98 kB / 432.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.2617, allocations: 15.94 kB / 432.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.2617, allocations: 19.91 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.2617, allocations: 0 / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.2617, allocations: 4 kB / 432.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.2618, allocations: 15.92 kB / 432.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.2618, allocations: 11.88 kB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.2619, allocations: 61.31 kB / 433 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2619, allocations: 0 / 433 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.262, allocations: 0 / 433 MB, free: 4.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.262, allocations: 0 / 433 MB, free: 4.723 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.0004508/0.2624, allocations: 302.1 kB / 433.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2624, allocations: 8.031 kB / 433.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.2625, allocations: 34.73 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2625, allocations: 8.891 kB / 433.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.2627, allocations: 130.4 kB / 433.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2627, allocations: 4.375 kB / 433.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2627, allocations: 4.375 kB / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.263, allocations: 113.5 kB / 433.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.263, allocations: 7.938 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.263, allocations: 4 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.263, allocations: 0 / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.2631, allocations: 15.98 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.2634, allocations: 236.8 kB / 433.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.2636, allocations: 65.08 kB / 433.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.2637, allocations: 29.75 kB / 433.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2637, allocations: 7.938 kB / 433.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.2637, allocations: 30.56 kB / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2637, allocations: 0 / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002332/0.264, allocations: 81.55 kB / 434 MB, free: 3.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.264, allocations: 85.23 kB / 434.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2642, allocations: 130.1 kB / 434.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2642, allocations: 25.7 kB / 434.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.2642, allocations: 92.08 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.2642, allocations: 3.953 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.2643, allocations: 21.7 kB / 434.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2644, allocations: 318.8 kB / 434.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.2644, allocations: 7.984 kB / 434.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.2645, allocations: 31.44 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.2646, allocations: 47.36 kB / 434.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2646, allocations: 3.938 kB / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.2647, allocations: 69.55 kB / 434.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2647, allocations: 4 kB / 434.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2647, allocations: 4 kB / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2648, allocations: 4.125 kB / 434.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.2648, allocations: 15.98 kB / 434.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2648, allocations: 0 / 434.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.2649, allocations: 7.953 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2649, allocations: 0 / 434.9 MB, free: 2.551 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 9.394e-05/0.265, allocations: 121.8 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.265, allocations: 53.62 kB / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.2651, allocations: 4.344 kB / 435.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2651, allocations: 4 kB / 435.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2651, allocations: 0 / 435.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2651, allocations: 7.984 kB / 435.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.2652, allocations: 140.6 kB / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2652, allocations: 4 kB / 435.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.2653, allocations: 4 kB / 435.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2653, allocations: 4 kB / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2653, allocations: 3.984 kB / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2653, allocations: 0 / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2653, allocations: 0 / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.2655, allocations: 172.2 kB / 435.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.2655, allocations: 8 kB / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.2655, allocations: 8 kB / 435.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.2656, allocations: 3.984 kB / 435.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.2656, allocations: 7.938 kB / 435.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2656, allocations: 3.938 kB / 435.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.54e-05/0.2657, allocations: 110.3 kB / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2657, allocations: 0 / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.2659, allocations: 8 kB / 435.5 MB, free: 1.816 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.0004705/0.2664, allocations: 0.6941 MB / 436.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.2665, allocations: 35.95 kB / 436.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2665, allocations: 0 / 436.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.2665, allocations: 15.94 kB / 436.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2668, allocations: 22.58 kB / 436.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2681, allocations: 1.326 MB / 437.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.2682, allocations: 75.28 kB / 437.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.552e-05/0.2682, allocations: 7.984 kB / 437.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.2683, allocations: 11.44 kB / 437.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2683, allocations: 0 / 437.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.2954, allocations: 2.01 MB / 439.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.35, allocations: 5.625 kB / 439.7 MB, free: 13.61 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.814210665877908]