Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001701/0.001701, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002173/0.002173, allocations: 211 kB / 23.73 MB, free: 4.523 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2518, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.0023/0.2541, allocations: 0.9532 MB / 432 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003407/0.2545, allocations: 111.6 kB / 432.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.2546, allocations: 3.938 kB / 432.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.566e-05/0.2546, allocations: 7.922 kB / 432.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2547, allocations: 15.94 kB / 432.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.255, allocations: 35.89 kB / 432.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2551, allocations: 39.86 kB / 432.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2552, allocations: 20.17 kB / 432.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.2552, allocations: 15.92 kB / 432.3 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.2552, allocations: 15.88 kB / 432.3 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.2553, allocations: 4 kB / 432.3 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.2553, allocations: 4 kB / 432.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.2553, allocations: 15.92 kB / 432.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.2554, allocations: 23.84 kB / 432.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2555, allocations: 61.33 kB / 432.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2555, allocations: 4 kB / 432.4 MB, free: 5.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2555, allocations: 0 / 432.4 MB, free: 5.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2555, allocations: 0 / 432.4 MB, free: 5.309 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.000455/0.256, allocations: 302 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.256, allocations: 8.031 kB / 432.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.2561, allocations: 38.75 kB / 432.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.2561, allocations: 12.84 kB / 432.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.2563, allocations: 134.4 kB / 432.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2563, allocations: 4.375 kB / 432.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.2563, allocations: 8.375 kB / 432.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.2566, allocations: 135.5 kB / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2566, allocations: 0 / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.2566, allocations: 0 / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2566, allocations: 4 kB / 433 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.2567, allocations: 12 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2568, allocations: 144.6 kB / 433.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.257, allocations: 70.66 kB / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.2571, allocations: 36.88 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.2571, allocations: 0 / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.2571, allocations: 42.5 kB / 433.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.2571, allocations: 0 / 433.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001938/0.2573, allocations: 93.66 kB / 433.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.2574, allocations: 59.41 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2575, allocations: 140.3 kB / 433.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2575, allocations: 25.7 kB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.2575, allocations: 84.14 kB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.2576, allocations: 8 kB / 433.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.2576, allocations: 21.72 kB / 433.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2577, allocations: 322.8 kB / 434.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.2578, allocations: 8 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.2578, allocations: 62.8 kB / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.867e-05/0.2579, allocations: 70.81 kB / 434.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2579, allocations: 0 / 434.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000134/0.2581, allocations: 97.38 kB / 434.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2581, allocations: 4 kB / 434.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2581, allocations: 7.938 kB / 434.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2581, allocations: 4 kB / 434.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.2582, allocations: 16.19 kB / 434.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.2582, allocations: 7.984 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.2582, allocations: 7.953 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.2582, allocations: 8 kB / 434.4 MB, free: 3.105 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.326e-05/0.2583, allocations: 117.8 kB / 434.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.2584, allocations: 77.52 kB / 434.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.2584, allocations: 12.72 kB / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2584, allocations: 0 / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2584, allocations: 0 / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2585, allocations: 0 / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.2586, allocations: 144.7 kB / 434.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2586, allocations: 4 kB / 434.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.2586, allocations: 15.94 kB / 434.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2586, allocations: 3.984 kB / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2586, allocations: 0 / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2586, allocations: 0 / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2586, allocations: 0 / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.2588, allocations: 109 kB / 434.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.2588, allocations: 23.86 kB / 434.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2588, allocations: 0 / 434.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.2589, allocations: 4.188 kB / 434.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.2589, allocations: 0 / 434.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.2589, allocations: 7.938 kB / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.2589, allocations: 103.3 kB / 435 MB, free: 2.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2589, allocations: 0 / 435 MB, free: 2.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002059/0.2591, allocations: 12 kB / 435 MB, free: 2.402 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.0004901/0.2596, allocations: 0.6553 MB / 435.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.2597, allocations: 39.92 kB / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.2598, allocations: 0.5625 kB / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2598, allocations: 0 / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.26, allocations: 50.64 kB / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2612, allocations: 1.355 MB / 437.1 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.3e-05/0.2613, allocations: 87.25 kB / 437.2 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.531e-05/0.2613, allocations: 3.953 kB / 437.2 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.2614, allocations: 23.44 kB / 437.2 MB, free: 24 kB / 334.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2614, allocations: 0 / 437.2 MB, free: 24 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.2881, allocations: 2.309 MB / 439.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.06, allocations: 9.797 kB / 439.5 MB, free: 13.84 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.637255156994797]