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.001296/0.001296, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001502/0.001502, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.536/1.536, allocations: 230.5 MB / 258.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.89 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3508, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002609/0.3534, allocations: 0.8735 MB / 432.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000414/0.3538, allocations: 111.6 kB / 432.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3539, allocations: 3.938 kB / 432.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.4e-05/0.354, allocations: 7.938 kB / 432.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.3542, allocations: 15.92 kB / 432.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.3544, allocations: 31.89 kB / 432.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.3546, allocations: 43.86 kB / 433 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3547, allocations: 19.98 kB / 433 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.3547, allocations: 11.94 kB / 433 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.3548, allocations: 19.86 kB / 433 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.3548, allocations: 4 kB / 433 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.3548, allocations: 4 kB / 433 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.3549, allocations: 15.97 kB / 433.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.3549, allocations: 27.8 kB / 433.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3551, allocations: 46.08 kB / 433.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3551, allocations: 0 / 433.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3551, allocations: 4 kB / 433.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3551, allocations: 0 / 433.1 MB, free: 5.242 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.0005033/0.3556, allocations: 290 kB / 433.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3556, allocations: 15.97 kB / 433.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.811e-05/0.3556, allocations: 4.125 kB / 433.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.3557, allocations: 46.67 kB / 433.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.3557, allocations: 8.891 kB / 433.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.356, allocations: 138.4 kB / 433.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.356, allocations: 4.375 kB / 433.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.356, allocations: 4.375 kB / 433.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.3564, allocations: 139.5 kB / 433.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3564, allocations: 0 / 433.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3564, allocations: 0 / 433.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3564, allocations: 0 / 433.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.3564, allocations: 20 kB / 433.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.3566, allocations: 136.7 kB / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3568, allocations: 62.66 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/0.3568, allocations: 32.89 kB / 434 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.3569, allocations: 3.938 kB / 434 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3569, allocations: 46.5 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3569, allocations: 0 / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002274/0.3571, allocations: 85.61 kB / 434.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.3572, allocations: 59.41 kB / 434.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.3574, allocations: 136.5 kB / 434.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3574, allocations: 37.62 kB / 434.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.3575, allocations: 88.14 kB / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.3575, allocations: 3.953 kB / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.3575, allocations: 29.7 kB / 434.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3577, allocations: 314.8 kB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.3577, allocations: 8 kB / 434.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.3577, allocations: 54.86 kB / 434.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.149e-05/0.3578, allocations: 74.75 kB / 434.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3578, allocations: 4 kB / 434.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000134/0.358, allocations: 93.44 kB / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.358, allocations: 8.188 kB / 435 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.358, allocations: 8 kB / 435.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.358, allocations: 0 / 435.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.006e-05/0.358, allocations: 4 kB / 435.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3581, allocations: 4 kB / 435.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.3581, allocations: 4.125 kB / 435.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3581, allocations: 8 kB / 435.1 MB, free: 3.059 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.0001177/0.3582, allocations: 129.7 kB / 435.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3583, allocations: 73.58 kB / 435.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.3584, allocations: 12.38 kB / 435.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3584, allocations: 0 / 435.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3584, allocations: 4 kB / 435.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3584, allocations: 4 kB / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3585, allocations: 136.7 kB / 435.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3585, allocations: 0 / 435.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.3585, allocations: 3.938 kB / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3585, allocations: 3.938 kB / 435.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3585, allocations: 4 kB / 435.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3585, allocations: 0 / 435.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3585, allocations: 0 / 435.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.3587, allocations: 101 kB / 435.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.3587, allocations: 27.86 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.3587, allocations: 8 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.611e-05/0.3588, allocations: 0 / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.3588, allocations: 0 / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3588, allocations: 0 / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.3589, allocations: 110.5 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3589, allocations: 0 / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000201/0.3591, allocations: 8 kB / 435.7 MB, free: 2.367 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.0005843/0.3596, allocations: 0.6592 MB / 436.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.3598, allocations: 43.98 kB / 436.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3598, allocations: 0 / 436.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.3598, allocations: 0 / 436.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3601, allocations: 54.62 kB / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.3614, allocations: 1.325 MB / 437.8 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.3615, allocations: 80.61 kB / 437.8 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.334e-05/0.3615, allocations: 11.94 kB / 437.9 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.3615, allocations: 11.44 kB / 437.9 MB, free: 12 kB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3615, allocations: 0 / 437.9 MB, free: 12 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.3852, allocations: 1.919 MB / 439.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.15, allocations: 4 kB / 439.8 MB, free: 14.22 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.mat","/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:assignClock1.u,assignClock1.y,integerConstant.k,integerConstant.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,xor.u1,xor.u2,xor.y [Calling sys.exit(0), Time elapsed: 13.834171526017599]