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.001677/0.001677, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.00197/0.00197, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.426/1.426, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001729/0.001729, allocations: 59.91 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.108, allocations: 53.33 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002112/0.1101, allocations: 0.8436 MB / 427.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003653/0.1104, allocations: 119.6 kB / 427.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.1105, allocations: 4 kB / 427.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1106, allocations: 3.938 kB / 427.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.1108, allocations: 19.86 kB / 427.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.111, allocations: 35.89 kB / 427.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.1111, allocations: 43.92 kB / 427.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1112, allocations: 19.97 kB / 427.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.1112, allocations: 19.88 kB / 427.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.1113, allocations: 27.78 kB / 427.8 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1113, allocations: 4 kB / 427.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.1113, allocations: 4 kB / 427.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.1114, allocations: 15.94 kB / 427.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.1114, allocations: 27.8 kB / 427.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1116, allocations: 59.67 kB / 427.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1116, allocations: 0 / 427.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1116, allocations: 4 kB / 427.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1116, allocations: 0 / 427.9 MB, free: 3.754 MB / 350.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.0005123/0.1121, allocations: 385.8 kB / 428.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1121, allocations: 8.031 kB / 428.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.1122, allocations: 42.73 kB / 428.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1122, allocations: 12.84 kB / 428.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1125, allocations: 196.2 kB / 428.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1125, allocations: 384 / 428.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.1125, allocations: 8.375 kB / 428.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.1128, allocations: 147.7 kB / 428.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1128, allocations: 3.938 kB / 428.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1128, allocations: 0 / 428.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.1128, allocations: 0 / 428.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.1128, allocations: 31.92 kB / 428.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.113, allocations: 177.6 kB / 428.9 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1132, allocations: 66.7 kB / 429 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.1132, allocations: 44.88 kB / 429 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1132, allocations: 4 kB / 429 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1133, allocations: 34.5 kB / 429 MB, free: 2.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1133, allocations: 4 kB / 429 MB, free: 2.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002154/0.1135, allocations: 97.56 kB / 429.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.1135, allocations: 59.41 kB / 429.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1137, allocations: 140.2 kB / 429.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1137, allocations: 29.7 kB / 429.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.1137, allocations: 84.14 kB / 429.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.1138, allocations: 7.953 kB / 429.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.1138, allocations: 29.7 kB / 429.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1139, allocations: 314.8 kB / 429.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.114, allocations: 19.92 kB / 429.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.114, allocations: 54.81 kB / 429.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/0.1141, allocations: 78.73 kB / 429.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1141, allocations: 0 / 429.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001303/0.1142, allocations: 97.5 kB / 430 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1143, allocations: 7.938 kB / 430 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1143, allocations: 4 kB / 430 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1143, allocations: 0 / 430 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.1144, allocations: 19.94 kB / 430.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1144, allocations: 0 / 430.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.1144, allocations: 11.94 kB / 430.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.1144, allocations: 4 kB / 430.1 MB, free: 1.289 MB / 350.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.0001015/0.1145, allocations: 130 kB / 430.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1146, allocations: 89.72 kB / 430.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.1147, allocations: 12.7 kB / 430.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1147, allocations: 8 kB / 430.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1147, allocations: 0 / 430.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1147, allocations: 0 / 430.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1148, allocations: 169.6 kB / 430.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1148, allocations: 3.984 kB / 430.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.1149, allocations: 12 kB / 430.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1149, allocations: 7.938 kB / 430.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1149, allocations: 4 kB / 430.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1149, allocations: 0 / 430.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1149, allocations: 0 / 430.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.115, allocations: 113 kB / 430.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.1151, allocations: 96.92 kB / 430.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1151, allocations: 8 kB / 430.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.1152, allocations: 0 / 430.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-06/0.1152, allocations: 4 kB / 430.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.1152, allocations: 0 / 430.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.1152, allocations: 113.4 kB / 430.8 MB, free: 440 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1152, allocations: 0 / 430.8 MB, free: 440 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000197/0.1154, allocations: 12 kB / 430.9 MB, free: 428 kB / 350.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.0005366/0.116, allocations: 0.6787 MB / 431.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1161, allocations: 43.92 kB / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1161, allocations: 0 / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1161, allocations: 0 / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1164, allocations: 56.59 kB / 431.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1177, allocations: 1.368 MB / 433 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.118, allocations: 0.704 MB / 433.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.847e-05/0.118, allocations: 4.672 kB / 433.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.1181, allocations: 23.38 kB / 433.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1181, allocations: 0 / 433.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.1415, allocations: 1.827 MB / 435.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.587, allocations: 15.78 kB / 435.6 MB, free: 11.63 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.069265437778085]