Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001322/0.001322, 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.001539/0.001539, allocations: 211.9 kB / 23.73 MB, free: 4.164 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 59.91 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3319, allocations: 53.41 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002764/0.3346, allocations: 0.8539 MB / 432 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004387/0.3351, allocations: 119.6 kB / 432.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3352, allocations: 7.938 kB / 432.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.3353, allocations: 3.938 kB / 432.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.3355, allocations: 7.922 kB / 432.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.3357, allocations: 39.91 kB / 432.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3358, allocations: 43.91 kB / 432.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.336, allocations: 23.91 kB / 432.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.336, allocations: 11.94 kB / 432.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.737e-05/0.3361, allocations: 19.92 kB / 432.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.3361, allocations: 4 kB / 432.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.3362, allocations: 11.88 kB / 432.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.3362, allocations: 15.92 kB / 432.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.3363, allocations: 23.81 kB / 432.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.3364, allocations: 61.36 kB / 432.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3364, allocations: 0 / 432.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.62e-06/0.3364, allocations: 3.984 kB / 432.4 MB, free: 5.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3365, allocations: 4 kB / 432.4 MB, free: 5.223 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.0006388/0.3371, allocations: 298.1 kB / 432.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.3372, allocations: 11.98 kB / 432.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.505e-05/0.3372, allocations: 38.75 kB / 432.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.3372, allocations: 12.84 kB / 432.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3376, allocations: 150.2 kB / 432.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3376, allocations: 4.375 kB / 432.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3376, allocations: 4.375 kB / 432.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.338, allocations: 135.9 kB / 433 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.338, allocations: 7.938 kB / 433 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.338, allocations: 0 / 433 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.338, allocations: 7.984 kB / 433 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.151e-05/0.3381, allocations: 27.92 kB / 433.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.3382, allocations: 140.7 kB / 433.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3384, allocations: 70.75 kB / 433.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.3385, allocations: 36.84 kB / 433.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3385, allocations: 4 kB / 433.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3385, allocations: 38.5 kB / 433.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.3385, allocations: 0 / 433.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000258/0.3388, allocations: 97.72 kB / 433.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.3389, allocations: 67.33 kB / 433.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.339, allocations: 148.3 kB / 433.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.339, allocations: 29.7 kB / 433.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.3391, allocations: 84.14 kB / 433.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.3391, allocations: 4 kB / 433.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.3392, allocations: 29.7 kB / 433.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3393, allocations: 314.8 kB / 434.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.3393, allocations: 19.92 kB / 434.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.3394, allocations: 58.86 kB / 434.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.3395, allocations: 70.75 kB / 434.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3395, allocations: 4.188 kB / 434.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001404/0.3396, allocations: 89.5 kB / 434.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3397, allocations: 15.88 kB / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3397, allocations: 0 / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3397, allocations: 4 kB / 434.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.3398, allocations: 15.94 kB / 434.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.3398, allocations: 4 kB / 434.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.3398, allocations: 12.19 kB / 434.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3398, allocations: 8 kB / 434.4 MB, free: 2.953 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.000115/0.3399, allocations: 125.8 kB / 434.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3401, allocations: 85.53 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.3401, allocations: 16.7 kB / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3401, allocations: 0 / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3401, allocations: 0 / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3401, allocations: 4 kB / 434.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.3402, allocations: 136.7 kB / 434.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3402, allocations: 0 / 434.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.3403, allocations: 16 kB / 434.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3403, allocations: 3.938 kB / 434.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3403, allocations: 0 / 434.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3403, allocations: 7.938 kB / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3403, allocations: 0 / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.3405, allocations: 109 kB / 434.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.3405, allocations: 31.81 kB / 434.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.3405, allocations: 0 / 434.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.423e-05/0.3406, allocations: 4 kB / 434.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-06/0.3406, allocations: 0 / 434.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3406, allocations: 4 kB / 434.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3407, allocations: 114.1 kB / 435 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3407, allocations: 0 / 435 MB, free: 2.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.3409, allocations: 8 kB / 435.1 MB, free: 2.223 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.0006887/0.3416, allocations: 0.6791 MB / 435.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3417, allocations: 47.92 kB / 435.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3417, allocations: 0.5625 kB / 435.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.3417, allocations: 0 / 435.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3421, allocations: 61.73 kB / 435.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3435, allocations: 1.374 MB / 437.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.988e-05/0.3436, allocations: 87.3 kB / 437.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.735e-05/0.3436, allocations: 4.672 kB / 437.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.3437, allocations: 23.44 kB / 437.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3437, allocations: 0 / 437.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.3734, allocations: 2.371 MB / 439.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.02, allocations: 10.81 kB / 439.7 MB, free: 13.52 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.555668456945568]