Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001587/0.001587, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001859/0.001859, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.738 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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 47.92 kB / 377.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2489, allocations: 53.36 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002305/0.2512, allocations: 0.8777 MB / 432 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.2516, allocations: 111.6 kB / 432.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.2517, allocations: 11.88 kB / 432.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.2517, allocations: 7.922 kB / 432.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.2518, allocations: 3.938 kB / 432.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.2521, allocations: 39.83 kB / 432.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.2522, allocations: 39.92 kB / 432.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.2523, allocations: 19.78 kB / 432.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.521e-05/0.2523, allocations: 19.92 kB / 432.2 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.2524, allocations: 23.84 kB / 432.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2524, allocations: 4 kB / 432.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.2524, allocations: 4 kB / 432.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.2525, allocations: 15.94 kB / 432.3 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.2525, allocations: 19.86 kB / 432.3 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.2526, allocations: 57.56 kB / 432.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2526, allocations: 0 / 432.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2526, allocations: 0 / 432.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2526, allocations: 0 / 432.3 MB, free: 5.371 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.0004211/0.253, allocations: 294.1 kB / 432.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2531, allocations: 12.03 kB / 432.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.2531, allocations: 34.75 kB / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.2532, allocations: 12.83 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2534, allocations: 130.4 kB / 432.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2534, allocations: 8.375 kB / 432.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2534, allocations: 4.375 kB / 432.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.2537, allocations: 135.7 kB / 432.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2537, allocations: 3.938 kB / 432.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.2537, allocations: 4 kB / 433 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2537, allocations: 0 / 433 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.2537, allocations: 16 kB / 433 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.2539, allocations: 132.7 kB / 433.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.254, allocations: 62.72 kB / 433.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.933e-05/0.2541, allocations: 36.83 kB / 433.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2541, allocations: 0 / 433.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.2541, allocations: 38.56 kB / 433.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.2542, allocations: 4 kB / 433.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002025/0.2544, allocations: 85.56 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.2544, allocations: 59.41 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.2545, allocations: 136.5 kB / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2546, allocations: 25.7 kB / 433.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.2546, allocations: 84.14 kB / 433.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.2546, allocations: 7.953 kB / 433.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.2547, allocations: 37.64 kB / 433.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2548, allocations: 314.8 kB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.2548, allocations: 15.92 kB / 434 MB, free: 3.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.2549, allocations: 54.88 kB / 434 MB, free: 3.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.255, allocations: 74.73 kB / 434.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.255, allocations: 0 / 434.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000143/0.2552, allocations: 97.45 kB / 434.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2552, allocations: 7.938 kB / 434.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2552, allocations: 0 / 434.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2552, allocations: 4 kB / 434.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.272e-05/0.2552, allocations: 7.938 kB / 434.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2552, allocations: 7.984 kB / 434.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.2553, allocations: 7.938 kB / 434.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2553, allocations: 8 kB / 434.3 MB, free: 3.199 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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 9.846e-05/0.2554, allocations: 126 kB / 434.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.2555, allocations: 73.58 kB / 434.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.2555, allocations: 12.38 kB / 434.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2555, allocations: 0 / 434.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2555, allocations: 0 / 434.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2555, allocations: 3.984 kB / 434.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.2556, allocations: 140.7 kB / 434.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2556, allocations: 0 / 434.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-06/0.2556, allocations: 0 / 434.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2557, allocations: 3.938 kB / 434.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2557, allocations: 4 kB / 434.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2557, allocations: 7.938 kB / 434.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2557, allocations: 0 / 434.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.2558, allocations: 101.1 kB / 434.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.2558, allocations: 11.94 kB / 434.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2558, allocations: 11.94 kB / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.678e-05/0.2559, allocations: 0 / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-06/0.2559, allocations: 0 / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2559, allocations: 3.984 kB / 434.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.054e-05/0.2559, allocations: 106.4 kB / 434.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2559, allocations: 0 / 434.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.2562, allocations: 12 kB / 434.9 MB, free: 2.516 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,xor.u1,xor.u2,xor.y,integerConstant.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.0004874/0.2566, allocations: 0.6637 MB / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.2568, allocations: 47.97 kB / 435.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.2568, allocations: 4 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2568, allocations: 0 / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2571, allocations: 46.45 kB / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2582, allocations: 1.317 MB / 436.9 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.2583, allocations: 79.33 kB / 437 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.94e-05/0.2583, allocations: 7.938 kB / 437 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.2583, allocations: 19.38 kB / 437 MB, free: 164 kB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2583, allocations: 0 / 437 MB, free: 164 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.2865, allocations: 2.277 MB / 439.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.02, allocations: 14.52 kB / 439.3 MB, free: 14.01 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_BooleanSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,periodicClock.factor,periodicClock.resolution,previous(unitDelay1.u),assignClock1.u,assignClock1.y [Calling sys.exit(0), Time elapsed: 13.52719348098617]