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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 59.44 kB / 306.4 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09747/0.09859, allocations: 50.54 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002021/0.1006, allocations: 0.8938 MB / 357.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.101, allocations: 119.7 kB / 357.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.1011, allocations: 0 / 357.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.644e-05/0.1012, allocations: 11.92 kB / 357.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.469e-05/0.1013, allocations: 8 kB / 357.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1015, allocations: 39.91 kB / 358 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.937e-05/0.1016, allocations: 43.84 kB / 358 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.1017, allocations: 19.98 kB / 358 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.1017, allocations: 15.92 kB / 358 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.1018, allocations: 19.86 kB / 358.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1018, allocations: 8 kB / 358.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.1018, allocations: 4 kB / 358.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.1019, allocations: 19.91 kB / 358.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.1019, allocations: 27.81 kB / 358.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.499e-05/0.102, allocations: 51.75 kB / 358.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.102, allocations: 0 / 358.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.102, allocations: 0 / 358.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.102, allocations: 3.938 kB / 358.2 MB, free: 13.13 MB / 302.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.000399/0.1024, allocations: 389.6 kB / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1025, allocations: 12.03 kB / 358.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.1025, allocations: 38.75 kB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.1025, allocations: 8.844 kB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.1027, allocations: 196.2 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.1027, allocations: 384 / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1028, allocations: 4.375 kB / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.103, allocations: 151.6 kB / 358.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.103, allocations: 3.938 kB / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.103, allocations: 0 / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1031, allocations: 0 / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.1031, allocations: 23.98 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.1032, allocations: 165.7 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1034, allocations: 78.64 kB / 359.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.1034, allocations: 48.88 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.1035, allocations: 0 / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1035, allocations: 34.56 kB / 359.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.1035, allocations: 0 / 359.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001893/0.1037, allocations: 109.6 kB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1037, allocations: 51.41 kB / 359.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1038, allocations: 148.7 kB / 359.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1039, allocations: 25.7 kB / 359.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.1039, allocations: 92.12 kB / 359.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1039, allocations: 7.906 kB / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.104, allocations: 29.7 kB / 359.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.1041, allocations: 314.8 kB / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.1041, allocations: 11.98 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.1042, allocations: 62.81 kB / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.1042, allocations: 78.73 kB / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1042, allocations: 0 / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001173/0.1044, allocations: 93.41 kB / 360.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1044, allocations: 7.938 kB / 360.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1044, allocations: 7.984 kB / 360.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1044, allocations: 4.25 kB / 360.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.1045, allocations: 12 kB / 360.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1045, allocations: 7.938 kB / 360.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.1045, allocations: 7.938 kB / 360.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.1045, allocations: 4 kB / 360.4 MB, free: 10.66 MB / 302.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 8.676e-05/0.1046, allocations: 129.8 kB / 360.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.1047, allocations: 85.77 kB / 360.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.1048, allocations: 16.7 kB / 360.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1048, allocations: 4 kB / 360.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1048, allocations: 4 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1048, allocations: 0 / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.1049, allocations: 173.6 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1049, allocations: 0 / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.105, allocations: 19.98 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.105, allocations: 3.938 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.105, allocations: 0 / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.105, allocations: 4 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.105, allocations: 0 / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1051, allocations: 117 kB / 360.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.1052, allocations: 100.9 kB / 361 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1052, allocations: 4 kB / 361 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.203e-05/0.1052, allocations: 0 / 361 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.1052, allocations: 0 / 361 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1053, allocations: 192 / 361 MB, free: 9.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.596e-05/0.1053, allocations: 111.2 kB / 361.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1053, allocations: 3.938 kB / 361.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.1055, allocations: 8 kB / 361.1 MB, free: 9.793 MB / 302.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.0004392/0.106, allocations: 0.6787 MB / 361.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1061, allocations: 48.36 kB / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1061, allocations: 64 / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.1061, allocations: 4 kB / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1064, allocations: 55.88 kB / 361.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.1074, allocations: 1.379 MB / 363.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.1076, allocations: 0.7004 MB / 364 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.61e-05/0.1076, allocations: 4.672 kB / 364 MB, free: 6.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1077, allocations: 23.42 kB / 364 MB, free: 6.711 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1077, allocations: 0 / 364 MB, free: 6.711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.306/1.414, allocations: 1.628 MB / 365.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/1.414, allocations: 216.3 kB / 365.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/3.098, allocations: 4 kB / 365.9 MB, free: 4.945 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches