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.001913/0.001913, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002295/0.002295, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 63.88 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3273, allocations: 50.56 MB / 408.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00341/0.3308, allocations: 1.554 MB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.332, allocations: 0.557 MB / 410.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-05/0.3322, allocations: 7.938 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.3323, allocations: 7.922 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.3324, allocations: 3.938 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.3327, allocations: 67.73 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3328, allocations: 47.8 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3329, allocations: 20.17 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3331, allocations: 23.91 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.3332, allocations: 23.86 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3332, allocations: 4 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.3332, allocations: 8 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.3333, allocations: 11.94 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.3333, allocations: 23.8 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.3335, allocations: 66.62 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3335, allocations: 4 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3335, allocations: 0 / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3335, allocations: 0 / 411.2 MB, free: 15 MB / 334.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.0005071/0.3341, allocations: 383.1 kB / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3341, allocations: 12.03 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.3341, allocations: 34.75 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.3343, allocations: 16.88 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.3346, allocations: 208.1 kB / 411.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3346, allocations: 4.375 kB / 411.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.3347, allocations: 12.36 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.3349, allocations: 101 kB / 412 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3349, allocations: 3.938 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.3349, allocations: 3.938 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3349, allocations: 0 / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.335, allocations: 23.98 kB / 412 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.3354, allocations: 261.8 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.727e-05/0.3355, allocations: 49.14 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.3355, allocations: 17.78 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3356, allocations: 0 / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3356, allocations: 42.55 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3356, allocations: 0 / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002304/0.3358, allocations: 61.58 kB / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.3359, allocations: 89.28 kB / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.336, allocations: 140.2 kB / 412.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3361, allocations: 25.7 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.3361, allocations: 92.14 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.3362, allocations: 7.938 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3362, allocations: 13.72 kB / 412.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.3364, allocations: 318.8 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.3365, allocations: 11.98 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.3365, allocations: 25.72 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.107e-05/0.3366, allocations: 29.7 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3366, allocations: 0 / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001234/0.3368, allocations: 57.56 kB / 413.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3368, allocations: 8.125 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3368, allocations: 0 / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3368, allocations: 4 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.3369, allocations: 4 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3369, allocations: 0 / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.3369, allocations: 7.984 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.337, allocations: 7.984 kB / 413.3 MB, free: 12.69 MB / 334.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 8.777e-05/0.337, allocations: 117.7 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.3371, allocations: 41.66 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.3372, allocations: 15.84 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3372, allocations: 4 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3372, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3372, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.3374, allocations: 169.6 kB / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3374, allocations: 7.938 kB / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.3375, allocations: 7.938 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3375, allocations: 0 / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3375, allocations: 3.984 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3375, allocations: 0 / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3375, allocations: 4 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.3377, allocations: 164.2 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.3378, allocations: 93.05 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3378, allocations: 4 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.3379, allocations: 3.984 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.3379, allocations: 4.031 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3379, allocations: 4 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.219e-05/0.338, allocations: 109.5 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.338, allocations: 0 / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.3382, allocations: 4 kB / 414 MB, free: 11.84 MB / 334.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.0006204/0.3389, allocations: 0.6976 MB / 414.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.339, allocations: 19.98 kB / 414.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.339, allocations: 0 / 414.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/0.3391, allocations: 8 kB / 414.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3394, allocations: 23.95 kB / 414.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.3408, allocations: 1.332 MB / 416.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3412, allocations: 0.6885 MB / 416.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.147e-05/0.3412, allocations: 8.016 kB / 416.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.3413, allocations: 19.44 kB / 416.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3413, allocations: 0 / 416.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.3664, allocations: 1.566 MB / 418.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/8.882, allocations: 11.84 kB / 418.4 MB, free: 7.438 MB / 334.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.1.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