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.001502/0.001502, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.00163/0.00163, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.001905/0.001905, allocations: 59.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2565, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002299/0.2588, allocations: 0.9646 MB / 432.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003723/0.2592, allocations: 119.6 kB / 432.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.2592, allocations: 3.938 kB / 432.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.623e-05/0.2593, allocations: 7.922 kB / 432.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2594, allocations: 7.938 kB / 432.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.2597, allocations: 39.89 kB / 432.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2598, allocations: 43.86 kB / 432.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2599, allocations: 20.17 kB / 432.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.2599, allocations: 19.86 kB / 432.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.26, allocations: 15.88 kB / 432.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.26, allocations: 4 kB / 432.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.26, allocations: 4 kB / 432.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.2601, allocations: 19.91 kB / 432.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.2601, allocations: 31.73 kB / 432.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.2603, allocations: 55.12 kB / 432.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2603, allocations: 0 / 432.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2603, allocations: 4 kB / 432.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2603, allocations: 0 / 432.5 MB, free: 5.34 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.0004416/0.2607, allocations: 303 kB / 432.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2608, allocations: 12.03 kB / 432.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.2608, allocations: 34.75 kB / 432.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2608, allocations: 8.891 kB / 432.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.2611, allocations: 134.4 kB / 433 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2611, allocations: 4.375 kB / 433 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2611, allocations: 12.38 kB / 433 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.2613, allocations: 135.5 kB / 433.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2614, allocations: 0 / 433.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.2614, allocations: 0 / 433.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2614, allocations: 0 / 433.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.2614, allocations: 15.94 kB / 433.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.2616, allocations: 156.6 kB / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.2617, allocations: 58.72 kB / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.2618, allocations: 36.88 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.2618, allocations: 3.984 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.2618, allocations: 46.44 kB / 433.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2618, allocations: 4 kB / 433.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001885/0.262, allocations: 85.78 kB / 433.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.2621, allocations: 59.41 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2622, allocations: 140 kB / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2622, allocations: 25.7 kB / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.2622, allocations: 84.14 kB / 433.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.2623, allocations: 4 kB / 433.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.2623, allocations: 21.72 kB / 433.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2624, allocations: 322.8 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.2625, allocations: 8 kB / 434.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.2625, allocations: 58.8 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.2626, allocations: 74.75 kB / 434.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2626, allocations: 0 / 434.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001355/0.2627, allocations: 101.4 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2627, allocations: 8.188 kB / 434.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2627, allocations: 0 / 434.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2628, allocations: 7.938 kB / 434.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.2628, allocations: 15.94 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2628, allocations: 7.984 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.2629, allocations: 7.953 kB / 434.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2629, allocations: 8 kB / 434.5 MB, free: 3.133 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 0.0001077/0.263, allocations: 126 kB / 434.6 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.2631, allocations: 73.58 kB / 434.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.2631, allocations: 12.72 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2631, allocations: 0 / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2631, allocations: 0 / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2631, allocations: 0 / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.2633, allocations: 148.7 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2633, allocations: 0 / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.2633, allocations: 15.94 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2633, allocations: 4 kB / 434.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2633, allocations: 7.984 kB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2633, allocations: 0 / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2633, allocations: 0 / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.2635, allocations: 101 kB / 435 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.2635, allocations: 23.88 kB / 435 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2635, allocations: 0 / 435 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/0.2636, allocations: 4 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-06/0.2636, allocations: 0 / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.2636, allocations: 8 kB / 435 MB, free: 2.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.477e-05/0.2636, allocations: 105.8 kB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2636, allocations: 0 / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.2639, allocations: 4 kB / 435.1 MB, free: 2.434 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.0005039/0.2644, allocations: 0.6593 MB / 435.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.2645, allocations: 39.92 kB / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2645, allocations: 0 / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2645, allocations: 0 / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2648, allocations: 47.31 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.266, allocations: 1.363 MB / 437.2 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.2663, allocations: 0.6924 MB / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.2663, allocations: 11.94 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.2664, allocations: 19.44 kB / 438 MB, free: 15.43 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2664, allocations: 0 / 438 MB, free: 15.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.2942, allocations: 1.867 MB / 439.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.12, allocations: 20.2 kB / 439.8 MB, free: 13.65 MB / 350.1 MB " [Timeout remaining time 649] (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.765963071000442]