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.0008118/0.0008118, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007744/0.0007744, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8722/0.8722, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.783e-06/1.783e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.85e-05, allocations: 2.844 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002383/0.002412, allocations: 1.542 MB / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003819/0.002794, allocations: 147.4 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.746e-05/0.002881, allocations: 0 / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.002927, allocations: 3.938 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.003058, allocations: 7.938 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.003288, allocations: 31.89 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.454e-05/0.003383, allocations: 35.86 kB / 326.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.003482, allocations: 15.94 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.003527, allocations: 11.98 kB / 326.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.003572, allocations: 15.91 kB / 326.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.003596, allocations: 8 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.003605, allocations: 0 / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.003663, allocations: 15.92 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.003691, allocations: 15.94 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.003799, allocations: 39.88 kB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.003802, allocations: 0 / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003803, allocations: 0 / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.003808, allocations: 0 / 326.4 MB, free: 14.01 MB / 298.7 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.0003777/0.004185, allocations: 294 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.004224, allocations: 11.98 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.004259, allocations: 46.73 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.004283, allocations: 8.891 kB / 326.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.00448, allocations: 129.6 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.004492, allocations: 8.312 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.0045, allocations: 384 / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.004757, allocations: 117.6 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.004766, allocations: 4.188 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.004777, allocations: 384 / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.004784, allocations: 4.125 kB / 327 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.795e-05/0.004832, allocations: 19.98 kB / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.005129, allocations: 224.8 kB / 327.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.005311, allocations: 61.14 kB / 327.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.005358, allocations: 33.7 kB / 327.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.005382, allocations: 0 / 327.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.005407, allocations: 38.5 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.005408, allocations: 4 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000201/0.005609, allocations: 77.55 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.005666, allocations: 85.11 kB / 327.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.666e-05/0.005762, allocations: 132.9 kB / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.005773, allocations: 29.7 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.005817, allocations: 84.14 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.005826, allocations: 3.953 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.005853, allocations: 17.7 kB / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.005944, allocations: 319 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.005964, allocations: 8 kB / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.005979, allocations: 11.92 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.006016, allocations: 20.78 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.006019, allocations: 4 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.046e-05/0.006079, allocations: 49.62 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.006093, allocations: 7.281 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.006098, allocations: 96 / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.00611, allocations: 4.188 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.492e-05/0.006145, allocations: 4 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.006151, allocations: 3.984 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.006164, allocations: 0 / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.00617, allocations: 7.984 kB / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.919e-05/0.006239, allocations: 117.8 kB / 328.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.006287, allocations: 57.52 kB / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.006315, allocations: 8.344 kB / 328.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.006319, allocations: 4 kB / 328.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.006323, allocations: 4 kB / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006326, allocations: 0 / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.006439, allocations: 136.7 kB / 328.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006441, allocations: 4 kB / 328.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.006468, allocations: 4 kB / 328.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.006473, allocations: 7.938 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.006479, allocations: 0 / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.00648, allocations: 0 / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006481, allocations: 0 / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.006589, allocations: 168.3 kB / 328.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.006619, allocations: 27.88 kB / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.006629, allocations: 0 / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.006659, allocations: 0 / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.006685, allocations: 7.938 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.006689, allocations: 0 / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.533e-05/0.006734, allocations: 107.2 kB / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006734, allocations: 0 / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001392/0.006873, allocations: 4 kB / 328.9 MB, free: 11.21 MB / 298.7 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.0002805/0.007154, allocations: 0.7015 MB / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.007237, allocations: 23.92 kB / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007238, allocations: 0 / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.007256, allocations: 11.92 kB / 329.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.007485, allocations: 16.03 kB / 329.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007856/0.008271, allocations: 1.258 MB / 330.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.514e-05/0.008326, allocations: 79.73 kB / 331 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.539e-05/0.008341, allocations: 4 kB / 331 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.008375, allocations: 16.5 kB / 331 MB, free: 8.969 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.008375, allocations: 0 / 331 MB, free: 8.969 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.02268, allocations: 2.112 MB / 333.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.771/6.794, allocations: 0 / 333.1 MB, free: 6.957 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/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: 8.599255159497261]