Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001464/0.001464, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001539/0.001539, allocations: 207.1 kB / 23.73 MB, free: 4.414 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2682, allocations: 53.4 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002556/0.2707, allocations: 0.9532 MB / 432.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003496/0.2711, allocations: 103.6 kB / 432.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.2712, allocations: 7.938 kB / 432.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.2712, allocations: 7.922 kB / 432.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2713, allocations: 7.938 kB / 432.2 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.2716, allocations: 39.89 kB / 432.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2717, allocations: 39.86 kB / 432.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2718, allocations: 20.16 kB / 432.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.2718, allocations: 19.92 kB / 432.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.2719, allocations: 19.86 kB / 432.4 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.2719, allocations: 7.938 kB / 432.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.2719, allocations: 3.938 kB / 432.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.272, allocations: 19.94 kB / 432.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.272, allocations: 19.86 kB / 432.4 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.2721, allocations: 53.38 kB / 432.5 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2721, allocations: 0 / 432.5 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2721, allocations: 4 kB / 432.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.2721, allocations: 0 / 432.5 MB, free: 5.121 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004321/0.2726, allocations: 302 kB / 432.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2726, allocations: 19.98 kB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.2727, allocations: 34.75 kB / 432.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.2727, allocations: 12.84 kB / 432.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.2729, allocations: 126.4 kB / 433 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.273, allocations: 8.375 kB / 433 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.273, allocations: 4.359 kB / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.2732, allocations: 135.6 kB / 433.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2733, allocations: 0 / 433.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2733, allocations: 0 / 433.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2733, allocations: 0 / 433.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.2733, allocations: 23.92 kB / 433.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.2735, allocations: 148.6 kB / 433.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.2736, allocations: 58.72 kB / 433.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.828e-05/0.2737, allocations: 32.89 kB / 433.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2737, allocations: 4 kB / 433.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.2737, allocations: 42.5 kB / 433.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2737, allocations: 0 / 433.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001949/0.2739, allocations: 93.58 kB / 433.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.274, allocations: 51.41 kB / 433.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2741, allocations: 137.8 kB / 433.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2741, allocations: 25.7 kB / 433.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.2742, allocations: 88.14 kB / 433.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.2742, allocations: 4 kB / 433.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.2742, allocations: 25.7 kB / 433.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2744, allocations: 314.8 kB / 434.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.2744, allocations: 8 kB / 434.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.2745, allocations: 67.05 kB / 434.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.2746, allocations: 74.75 kB / 434.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2746, allocations: 192 / 434.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001287/0.2747, allocations: 93.47 kB / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2747, allocations: 14.28 kB / 434.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2747, allocations: 0 / 434.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2747, allocations: 4 kB / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.2748, allocations: 19.92 kB / 434.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2748, allocations: 7.984 kB / 434.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.2749, allocations: 11.95 kB / 434.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.2749, allocations: 4 kB / 434.4 MB, free: 2.922 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.044e-05/0.275, allocations: 114.9 kB / 434.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2751, allocations: 89.66 kB / 434.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.2751, allocations: 8.719 kB / 434.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2751, allocations: 4 kB / 434.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2751, allocations: 0 / 434.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2751, allocations: 3.984 kB / 434.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.2752, allocations: 136.7 kB / 434.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2752, allocations: 0 / 434.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.2753, allocations: 19.92 kB / 434.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2753, allocations: 0 / 434.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2753, allocations: 4 kB / 434.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2753, allocations: 4 kB / 434.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2753, allocations: 4 kB / 434.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.2754, allocations: 97.02 kB / 434.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.2755, allocations: 23.88 kB / 434.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2755, allocations: 0 / 434.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.2755, allocations: 4 kB / 434.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-06/0.2755, allocations: 3.984 kB / 434.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2755, allocations: 8 kB / 434.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.692e-05/0.2756, allocations: 103.2 kB / 435 MB, free: 2.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2756, allocations: 4 kB / 435 MB, free: 2.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001967/0.2758, allocations: 4 kB / 435 MB, free: 2.219 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000536/0.2763, allocations: 0.6592 MB / 435.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.2765, allocations: 39.92 kB / 435.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2765, allocations: 0 / 435.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.2765, allocations: 3.938 kB / 435.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.2768, allocations: 47.94 kB / 435.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.2781, allocations: 1.35 MB / 437.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.212e-05/0.2782, allocations: 83.31 kB / 437.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.388e-05/0.2782, allocations: 3.953 kB / 437.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.2782, allocations: 19.44 kB / 437.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2782, allocations: 0 / 437.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.308, allocations: 2.267 MB / 439.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.43, allocations: 15.27 kB / 439.5 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.968674792908132]