Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 104.7 kB / 17.06 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 196 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 47.94 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6144, allocations: 49.43 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.006098/0.6206, allocations: 1.551 MB / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.6225, allocations: 0.4966 MB / 402.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.6226, allocations: 0 / 402.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.261e-05/0.6227, allocations: 3.938 kB / 402.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.623, allocations: 15.86 kB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.6234, allocations: 47.83 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.6236, allocations: 47.8 kB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.6238, allocations: 19.97 kB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.6239, allocations: 15.94 kB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.85e-05/0.624, allocations: 23.86 kB / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.624, allocations: 0 / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.624, allocations: 4 kB / 402.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.6241, allocations: 11.98 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.6242, allocations: 43.67 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.6244, allocations: 47.81 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6244, allocations: 0 / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6244, allocations: 0 / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.6244, allocations: 0 / 402.5 MB, free: 6.504 MB / 318.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.0007605/0.6252, allocations: 376.8 kB / 402.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.764e-05/0.6253, allocations: 11.89 kB / 402.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.829e-05/0.6254, allocations: 42.67 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.6254, allocations: 8.844 kB / 403 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.6259, allocations: 204 kB / 403.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.6259, allocations: 8.375 kB / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.626, allocations: 384 / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.6265, allocations: 109.2 kB / 403.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.6265, allocations: 4 kB / 403.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.6265, allocations: 0 / 403.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6265, allocations: 0 / 403.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.6267, allocations: 23.92 kB / 403.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.6273, allocations: 257.8 kB / 403.6 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.6274, allocations: 49.16 kB / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.163e-05/0.6275, allocations: 21.77 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.6276, allocations: 0 / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.6276, allocations: 30.56 kB / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.6276, allocations: 0 / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004654/0.6281, allocations: 77.61 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/0.6282, allocations: 77.11 kB / 403.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.6285, allocations: 136.7 kB / 404 MB, free: 4.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.6285, allocations: 25.7 kB / 404 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.6286, allocations: 92.12 kB / 404.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.6287, allocations: 7.906 kB / 404.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.6288, allocations: 13.72 kB / 404.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002505/0.629, allocations: 326.9 kB / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.6291, allocations: 7.938 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.6292, allocations: 21.7 kB / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.6293, allocations: 25.72 kB / 404.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6293, allocations: 0 / 404.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.6296, allocations: 65.66 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.6296, allocations: 4 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6296, allocations: 3.938 kB / 404.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.6297, allocations: 4 kB / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.6298, allocations: 4 kB / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.6298, allocations: 0 / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.6299, allocations: 7.891 kB / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.6299, allocations: 7.938 kB / 404.6 MB, free: 4.215 MB / 318.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 0.000169/0.6301, allocations: 125.8 kB / 404.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.6302, allocations: 45.62 kB / 404.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.6303, allocations: 3.875 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.6303, allocations: 4 kB / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.6303, allocations: 4 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6303, allocations: 0 / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.6307, allocations: 173.5 kB / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6307, allocations: 4 kB / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.6308, allocations: 7.984 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6308, allocations: 4.031 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.6308, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6308, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6308, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.6312, allocations: 164.2 kB / 405.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.6313, allocations: 89 kB / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.6313, allocations: 4.031 kB / 405.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.6314, allocations: 7.984 kB / 405.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.6315, allocations: 4 kB / 405.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.6315, allocations: 4 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.6316, allocations: 110.3 kB / 405.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6317, allocations: 0 / 405.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004038/0.6321, allocations: 4 kB / 405.3 MB, free: 3.367 MB / 318.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.0007836/0.6329, allocations: 0.6975 MB / 406 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.6331, allocations: 23.92 kB / 406 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6331, allocations: 0 / 406 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.6332, allocations: 12.16 kB / 406 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.6338, allocations: 16.02 kB / 406 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.636, allocations: 1.314 MB / 407.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.6365, allocations: 0.7001 MB / 408.1 MB, free: 472 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.6366, allocations: 3.984 kB / 408.1 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.6367, allocations: 15.44 kB / 408.1 MB, free: 452 kB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6367, allocations: 0 / 408.1 MB, free: 452 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.274/6.91, allocations: 1.55 MB / 409.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.28/24.19, allocations: 8.672 kB / 409.6 MB, free: 15 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches