Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007291/0.0007291, allocations: 91.48 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008006/0.0008006, allocations: 200.1 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002188/0.0002186, allocations: 8 kB / 307.8 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08398/0.08422, allocations: 51.52 MB / 359.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00161/0.08586, allocations: 1.289 MB / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.08671, allocations: 0.5338 MB / 361.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.08679, allocations: 4 kB / 361.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.08682, allocations: 7.922 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.08693, allocations: 7.938 kB / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.08718, allocations: 63.88 kB / 361.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.954e-05/0.08726, allocations: 47.8 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.08736, allocations: 16.16 kB / 361.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.08746, allocations: 19.92 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.08753, allocations: 19.86 kB / 361.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.08755, allocations: 4 kB / 361.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-05/0.0876, allocations: 4 kB / 361.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.08765, allocations: 19.92 kB / 361.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.08769, allocations: 45.52 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.0878, allocations: 59.72 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.08781, allocations: 0 / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.08782, allocations: 3.938 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.08783, allocations: 0 / 361.5 MB, free: 11.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003575/0.08819, allocations: 371.5 kB / 361.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.08823, allocations: 8.031 kB / 361.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.08827, allocations: 34.75 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.0884, allocations: 24.83 kB / 361.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.08858, allocations: 192.2 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.0886, allocations: 4.375 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.08862, allocations: 8.312 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.08885, allocations: 113 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.08887, allocations: 0 / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.08888, allocations: 3.984 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.08889, allocations: 0 / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.08897, allocations: 27.92 kB / 362.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.08924, allocations: 269.7 kB / 362.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.08932, allocations: 41.16 kB / 362.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.08938, allocations: 29.7 kB / 362.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.0894, allocations: 4 kB / 362.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.08943, allocations: 30.56 kB / 362.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.08944, allocations: 4 kB / 362.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002334/0.08967, allocations: 77.52 kB / 362.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.08973, allocations: 81.36 kB / 362.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.08984, allocations: 140.4 kB / 362.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.08986, allocations: 25.7 kB / 362.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.0899, allocations: 88.14 kB / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.08992, allocations: 11.84 kB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.08995, allocations: 9.719 kB / 363.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.09004, allocations: 322.8 kB / 363.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.09009, allocations: 12 kB / 363.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/0.09013, allocations: 21.7 kB / 363.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/0.09022, allocations: 33.7 kB / 363.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.09023, allocations: 0 / 363.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001131/0.09035, allocations: 61.69 kB / 363.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.09037, allocations: 8 kB / 363.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.09038, allocations: 0 / 363.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.09039, allocations: 0 / 363.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.09045, allocations: 7.984 kB / 363.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.09047, allocations: 0 / 363.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.0905, allocations: 4 kB / 363.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.09052, allocations: 8.062 kB / 363.5 MB, free: 8.758 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.961e-05/0.0906, allocations: 121.7 kB / 363.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.09066, allocations: 41.53 kB / 363.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.09069, allocations: 15.83 kB / 363.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.0907, allocations: 0 / 363.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.09071, allocations: 4 kB / 363.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.09072, allocations: 0 / 363.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.09087, allocations: 169.6 kB / 363.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.09088, allocations: 32 / 363.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.09093, allocations: 15.98 kB / 363.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.09094, allocations: 0 / 363.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.09095, allocations: 3.938 kB / 363.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.09096, allocations: 4 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.09096, allocations: 7.938 kB / 363.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.09112, allocations: 168.2 kB / 364.1 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.09118, allocations: 93 kB / 364.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.0912, allocations: 4 kB / 364.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.09127, allocations: 0 / 364.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.0913, allocations: 4 kB / 364.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.09131, allocations: 0 / 364.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.396e-05/0.09138, allocations: 109.8 kB / 364.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09138, allocations: 0 / 364.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000211/0.0916, allocations: 16.03 kB / 364.3 MB, free: 7.891 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003612/0.09197, allocations: 0.6975 MB / 365 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.09208, allocations: 19.98 kB / 365 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.09209, allocations: 0 / 365 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.09214, allocations: 12 kB / 365 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.09245, allocations: 19.3 kB / 365 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.09354, allocations: 1.356 MB / 366.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.09377, allocations: 0.6887 MB / 367.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.515e-05/0.0938, allocations: 0 / 367.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.09385, allocations: 15.44 kB / 367.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09385, allocations: 0 / 367.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.104, allocations: 1.326 MB / 368.4 MB, free: 3.758 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.1042, allocations: 214.8 kB / 368.6 MB, free: 3.504 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/1.82, allocations: 14.27 kB / 368.6 MB, free: 3.492 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches