Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001887/0.001887, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002387/0.002387, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 63.91 kB / 377.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3478, allocations: 53.4 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002641/0.3505, allocations: 0.8728 MB / 432 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.3508, allocations: 111.6 kB / 432.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-05/0.3509, allocations: 7.938 kB / 432.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.351, allocations: 3.938 kB / 432.1 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.3511, allocations: 7.922 kB / 432.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.3513, allocations: 31.91 kB / 432.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3514, allocations: 51.84 kB / 432.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3516, allocations: 15.78 kB / 432.2 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.3516, allocations: 19.92 kB / 432.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.3516, allocations: 23.86 kB / 432.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3516, allocations: 0 / 432.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.3517, allocations: 4 kB / 432.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.3517, allocations: 15.92 kB / 432.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.3518, allocations: 23.81 kB / 432.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.3519, allocations: 49.62 kB / 432.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3519, allocations: 0 / 432.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3519, allocations: 0 / 432.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.3519, allocations: 0 / 432.4 MB, free: 5.238 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.0004454/0.3523, allocations: 294.1 kB / 432.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3524, allocations: 15.98 kB / 432.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.3524, allocations: 38.73 kB / 432.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.3525, allocations: 16.83 kB / 432.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.3527, allocations: 134.3 kB / 432.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3527, allocations: 4.375 kB / 432.9 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.3528, allocations: 4.375 kB / 432.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.353, allocations: 135.8 kB / 433 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3531, allocations: 3.938 kB / 433 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3531, allocations: 4 kB / 433 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3531, allocations: 0 / 433 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.3531, allocations: 12 kB / 433 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.3533, allocations: 140.7 kB / 433.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3534, allocations: 54.77 kB / 433.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.3535, allocations: 48.75 kB / 433.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3535, allocations: 0 / 433.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3536, allocations: 34.56 kB / 433.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 3.546e-06/0.3536, allocations: 4 kB / 433.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000212/0.3538, allocations: 93.5 kB / 433.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.3538, allocations: 55.41 kB / 433.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.354, allocations: 129.8 kB / 433.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.354, allocations: 25.7 kB / 433.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.354, allocations: 92.12 kB / 433.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.3541, allocations: 7.953 kB / 433.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.3541, allocations: 29.66 kB / 433.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3542, allocations: 322.8 kB / 434 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.3543, allocations: 8 kB / 434 MB, free: 3.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.3543, allocations: 58.86 kB / 434.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.959e-05/0.3544, allocations: 74.75 kB / 434.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3544, allocations: 4 kB / 434.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001356/0.3546, allocations: 93.62 kB / 434.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3546, allocations: 7.938 kB / 434.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3546, allocations: 7.938 kB / 434.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3546, allocations: 0 / 434.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.3546, allocations: 4 kB / 434.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3546, allocations: 4 kB / 434.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.3547, allocations: 7.938 kB / 434.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.3547, allocations: 4 kB / 434.3 MB, free: 3.055 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 0.0001098/0.3548, allocations: 130 kB / 434.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.902e-05/0.3549, allocations: 81.56 kB / 434.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.3549, allocations: 8.375 kB / 434.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3549, allocations: 0 / 434.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3549, allocations: 4 kB / 434.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3549, allocations: 0 / 434.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.355, allocations: 136.7 kB / 434.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.355, allocations: 0 / 434.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.355, allocations: 0 / 434.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.355, allocations: 7.938 kB / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.3551, allocations: 0 / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3551, allocations: 7.938 kB / 434.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3551, allocations: 0 / 434.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.3552, allocations: 97.08 kB / 434.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.3552, allocations: 19.94 kB / 434.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.3552, allocations: 3.938 kB / 434.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/0.3553, allocations: 3.938 kB / 434.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-06/0.3553, allocations: 0 / 434.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3553, allocations: 4 kB / 434.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.3553, allocations: 105.9 kB / 434.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3553, allocations: 0 / 434.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.3555, allocations: 8 kB / 434.9 MB, free: 2.371 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.0005241/0.3561, allocations: 0.667 MB / 435.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.3562, allocations: 43.91 kB / 435.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3562, allocations: 0 / 435.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.3562, allocations: 0 / 435.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3565, allocations: 46.62 kB / 435.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.3578, allocations: 1.321 MB / 437 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.629e-05/0.3579, allocations: 80.77 kB / 437.1 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.113e-05/0.3579, allocations: 7.953 kB / 437.1 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.3579, allocations: 19.42 kB / 437.1 MB, free: 16 kB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3579, allocations: 0 / 437.1 MB, free: 16 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.3882, allocations: 2.258 MB / 439.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.18, allocations: 7.938 kB / 439.4 MB, free: 13.86 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.835470441263169]