Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001411/0.001411, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00172/0.00172, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 44.06 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2459, allocations: 53.36 MB / 431.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002285/0.2482, allocations: 0.8543 MB / 431.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003678/0.2485, allocations: 123.5 kB / 432 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.2486, allocations: 0 / 432 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.896e-05/0.2487, allocations: 7.938 kB / 432.1 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.2488, allocations: 15.91 kB / 432.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.249, allocations: 31.92 kB / 432.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2492, allocations: 47.78 kB / 432.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2493, allocations: 19.97 kB / 432.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.2493, allocations: 15.94 kB / 432.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.2494, allocations: 19.86 kB / 432.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2494, allocations: 4 kB / 432.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.2494, allocations: 4 kB / 432.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.2494, allocations: 23.92 kB / 432.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.2495, allocations: 19.86 kB / 432.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2496, allocations: 65.34 kB / 432.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2496, allocations: 0 / 432.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2496, allocations: 0 / 432.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2496, allocations: 0 / 432.3 MB, free: 5.555 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.0004362/0.2501, allocations: 302 kB / 432.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2501, allocations: 16.03 kB / 432.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.2501, allocations: 34.75 kB / 432.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.2502, allocations: 20.77 kB / 432.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.2504, allocations: 138.4 kB / 432.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2504, allocations: 4.375 kB / 432.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2504, allocations: 4.375 kB / 432.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.2507, allocations: 151.7 kB / 433 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2507, allocations: 3.938 kB / 433 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.2507, allocations: 0 / 433 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2507, allocations: 0 / 433 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.2507, allocations: 23.98 kB / 433 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.2509, allocations: 144.7 kB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.251, allocations: 70.69 kB / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.2511, allocations: 36.84 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.2511, allocations: 4 kB / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2511, allocations: 30.56 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2511, allocations: 0 / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002079/0.2513, allocations: 109.7 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.2514, allocations: 59.41 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.2515, allocations: 145.7 kB / 433.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2516, allocations: 25.7 kB / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.2516, allocations: 88.14 kB / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.2516, allocations: 7.984 kB / 433.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.2517, allocations: 25.66 kB / 433.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2518, allocations: 322.8 kB / 434 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.2518, allocations: 8 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.2519, allocations: 58.86 kB / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.252, allocations: 74.75 kB / 434.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.252, allocations: 0 / 434.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001372/0.2521, allocations: 101.5 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2521, allocations: 10.59 kB / 434.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2521, allocations: 8 kB / 434.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2522, allocations: 0 / 434.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.2522, allocations: 19.94 kB / 434.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2522, allocations: 3.984 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.2523, allocations: 7.938 kB / 434.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2523, allocations: 4 kB / 434.3 MB, free: 3.285 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.0001078/0.2524, allocations: 130 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2525, allocations: 89.52 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.2525, allocations: 16.72 kB / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2525, allocations: 0 / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2525, allocations: 0 / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2525, allocations: 0 / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.2527, allocations: 136.7 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2527, allocations: 0 / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.2527, allocations: 19.94 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2527, allocations: 3.938 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2527, allocations: 3.984 kB / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2527, allocations: 4 kB / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2527, allocations: 0 / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.2529, allocations: 105.1 kB / 434.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.2529, allocations: 27.8 kB / 434.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.253, allocations: 4 kB / 434.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.393e-05/0.253, allocations: 3.984 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-06/0.253, allocations: 0 / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.253, allocations: 0 / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.29e-05/0.2531, allocations: 111.2 kB / 435 MB, free: 2.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2531, allocations: 0 / 435 MB, free: 2.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.2533, allocations: 8 kB / 435 MB, free: 2.555 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0005175/0.2538, allocations: 0.685 MB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.2539, allocations: 44.47 kB / 435.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2539, allocations: 0 / 435.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.2539, allocations: 3.984 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.2542, allocations: 50.75 kB / 435.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.2555, allocations: 1.383 MB / 437.2 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.944e-05/0.2555, allocations: 83.31 kB / 437.2 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.381e-05/0.2556, allocations: 0.6719 kB / 437.2 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.2556, allocations: 19.42 kB / 437.3 MB, free: 120 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2556, allocations: 0 / 437.3 MB, free: 120 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.284, allocations: 2.396 MB / 439.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.85, allocations: 0 / 439.7 MB, free: 13.86 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.166056404821575]