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.0008208/0.0008208, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001296/0.001296, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8752/0.8752, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.683e-06/1.683e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.323e-05, allocations: 6.844 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001291/0.001304, allocations: 0.8569 MB / 325.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002712/0.001576, allocations: 123.6 kB / 325.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.001645, allocations: 4 kB / 325.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.724e-05/0.001732, allocations: 15.81 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.001841, allocations: 11.92 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.002003, allocations: 31.95 kB / 325.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.002092, allocations: 39.86 kB / 325.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.002187, allocations: 15.98 kB / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.002226, allocations: 27.91 kB / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.00229, allocations: 15.98 kB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.002311, allocations: 0 / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.002319, allocations: 7.938 kB / 325.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.002359, allocations: 19.92 kB / 325.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.002387, allocations: 15.92 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.002485, allocations: 59.72 kB / 325.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002486, allocations: 8 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.002487, allocations: 0 / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.002491, allocations: 0 / 325.8 MB, free: 14.64 MB / 298.7 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.0003235/0.002814, allocations: 298 kB / 326 MB, free: 14.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.00285, allocations: 15.98 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.00288, allocations: 38.73 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.00291, allocations: 12.84 kB / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.003062, allocations: 141.6 kB / 326.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.00307, allocations: 384 / 326.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.003081, allocations: 12.38 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.00331, allocations: 139.7 kB / 326.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.003319, allocations: 4.172 kB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.003328, allocations: 384 / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.003334, allocations: 4.125 kB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.214e-05/0.003376, allocations: 27.92 kB / 326.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.003494, allocations: 136.8 kB / 326.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.003619, allocations: 70.75 kB / 326.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.003664, allocations: 36.84 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.003673, allocations: 4 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.003694, allocations: 34.56 kB / 326.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.003695, allocations: 3.938 kB / 326.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000182/0.003877, allocations: 101.8 kB / 326.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.003923, allocations: 63.34 kB / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.004008, allocations: 149.1 kB / 327 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.004018, allocations: 25.7 kB / 327 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.004056, allocations: 88.14 kB / 327.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.004067, allocations: 4 kB / 327.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.004096, allocations: 25.64 kB / 327.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.004175, allocations: 318.8 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-06/0.004184, allocations: 4 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.004191, allocations: 4 kB / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.004215, allocations: 20.78 kB / 327.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004217, allocations: 0 / 327.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.115e-05/0.004258, allocations: 37.66 kB / 327.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.004269, allocations: 4 kB / 327.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.004274, allocations: 4.094 kB / 327.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.004286, allocations: 3.938 kB / 327.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.835e-05/0.004324, allocations: 4 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.004328, allocations: 0 / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-06/0.004338, allocations: 3.984 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.004343, allocations: 4 kB / 327.6 MB, free: 12.63 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.424e-05/0.004407, allocations: 121.8 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.004469, allocations: 81.58 kB / 327.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.004498, allocations: 12.77 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.004502, allocations: 7.938 kB / 327.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.004505, allocations: 4 kB / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004508, allocations: 0 / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.491e-05/0.004573, allocations: 136.8 kB / 327.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.004574, allocations: 3.984 kB / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.004612, allocations: 8 kB / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.004615, allocations: 4 kB / 327.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.004622, allocations: 0 / 327.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.004624, allocations: 3.938 kB / 327.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004625, allocations: 0 / 327.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.484e-05/0.00471, allocations: 113 kB / 328 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.004742, allocations: 19.94 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.004757, allocations: 4 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.431e-05/0.004772, allocations: 11.94 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.004774, allocations: 0 / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.004776, allocations: 3.938 kB / 328.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.587e-05/0.004822, allocations: 111.2 kB / 328.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004822, allocations: 0 / 328.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001141/0.004936, allocations: 4 kB / 328.2 MB, free: 11.92 MB / 298.7 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.0003046/0.005241, allocations: 0.6774 MB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.843e-05/0.005319, allocations: 32.05 kB / 328.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005321, allocations: 0 / 328.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.005321, allocations: 0 / 328.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.005555, allocations: 58.2 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/0.006441, allocations: 1.216 MB / 330.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.05e-05/0.006491, allocations: 87.02 kB / 330.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.39e-05/0.006505, allocations: 0 / 330.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.006544, allocations: 24.48 kB / 330.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006545, allocations: 4.094 kB / 330.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.02104, allocations: 2.435 MB / 332.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/6.653, allocations: 4.062 kB / 332.7 MB, free: 7.355 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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: 8.302441365085542]