Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 106.2 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.001068/0.001068, 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.295/1.295, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 60.97 kB / 306.4 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.09075, allocations: 50.54 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002555/0.09335, allocations: 1.57 MB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003202/0.09369, allocations: 135.6 kB / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.09379, allocations: 8 kB / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.09386, allocations: 7.922 kB / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.09397, allocations: 7.984 kB / 358.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.0942, allocations: 31.92 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.09428, allocations: 35.84 kB / 358.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.09436, allocations: 15.98 kB / 358.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.668e-05/0.0944, allocations: 15.92 kB / 358.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.313e-05/0.09444, allocations: 7.938 kB / 358.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.09445, allocations: 0 / 358.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.09447, allocations: 11.94 kB / 358.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.09452, allocations: 15.92 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.09456, allocations: 19.81 kB / 358.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.54e-05/0.09464, allocations: 43.81 kB / 358.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.09465, allocations: 4 kB / 358.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.09466, allocations: 0 / 358.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.09466, allocations: 0 / 358.8 MB, free: 12.24 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003821/0.09505, allocations: 369.8 kB / 359.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.09509, allocations: 8.031 kB / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.09513, allocations: 42.69 kB / 359.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.09516, allocations: 8.844 kB / 359.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.09532, allocations: 188.1 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-06/0.09533, allocations: 4.375 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.09535, allocations: 8.359 kB / 359.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.09558, allocations: 117.6 kB / 359.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.0956, allocations: 7.922 kB / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.09562, allocations: 0 / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.09563, allocations: 0 / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.09574, allocations: 23.92 kB / 359.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.0961, allocations: 257.8 kB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.0963, allocations: 146.2 kB / 360 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.09637, allocations: 29.78 kB / 360 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.09639, allocations: 0 / 360 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.09642, allocations: 38.55 kB / 360 MB, free: 10.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.09642, allocations: 0 / 360 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002102/0.09664, allocations: 77.52 kB / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.09669, allocations: 81.11 kB / 360.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.0968, allocations: 136.3 kB / 360.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.09681, allocations: 25.7 kB / 360.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.09686, allocations: 92.12 kB / 360.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-06/0.09687, allocations: 128 / 360.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.09691, allocations: 25.62 kB / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.097, allocations: 314.8 kB / 360.8 MB, free: 10 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.09705, allocations: 11.98 kB / 360.8 MB, free: 9.988 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.09711, allocations: 31.42 kB / 360.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.09725, allocations: 51.36 kB / 360.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.09727, allocations: 7.875 kB / 360.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001983/0.09748, allocations: 57.62 kB / 360.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.09751, allocations: 8 kB / 360.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.09752, allocations: 4.125 kB / 360.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.09754, allocations: 0 / 360.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.09762, allocations: 11.98 kB / 361 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.09764, allocations: 3.938 kB / 361 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.09768, allocations: 7.938 kB / 361 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.09769, allocations: 4 kB / 361 MB, free: 9.773 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.59e-05/0.09777, allocations: 130.8 kB / 361.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.09784, allocations: 45.61 kB / 361.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.09788, allocations: 16.23 kB / 361.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.09788, allocations: 4 kB / 361.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.09789, allocations: 0 / 361.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.0979, allocations: 0 / 361.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.09805, allocations: 169.6 kB / 361.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.09806, allocations: 4 kB / 361.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.09811, allocations: 11.88 kB / 361.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.09812, allocations: 4 kB / 361.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.09813, allocations: 0 / 361.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.09813, allocations: 0 / 361.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09814, allocations: 336 / 361.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.09829, allocations: 180.2 kB / 361.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.09835, allocations: 93 kB / 361.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.09838, allocations: 0 / 361.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.09847, allocations: 7.984 kB / 361.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.0985, allocations: 0 / 361.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.09851, allocations: 0 / 361.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.895e-05/0.09857, allocations: 107.3 kB / 361.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09858, allocations: 0 / 361.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.09879, allocations: 4 kB / 361.7 MB, free: 8.902 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000374/0.09917, allocations: 0.7053 MB / 362.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.09934, allocations: 31.91 kB / 362.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.09935, allocations: 0 / 362.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.09939, allocations: 8 kB / 362.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.09972, allocations: 28.02 kB / 362.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1008, allocations: 1.342 MB / 363.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.101, allocations: 0.6887 MB / 364.5 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.998e-05/0.1011, allocations: 0 / 364.5 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.1011, allocations: 19.42 kB / 364.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1011, allocations: 0 / 364.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2027/0.3038, allocations: 1.286 MB / 365.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/0.3042, allocations: 214.8 kB / 366 MB, free: 4.496 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.243, allocations: 0 / 366 MB, free: 4.496 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches