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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 182.7 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 43.92 kB / 370.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2297, allocations: 52.18 MB / 422.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002984/0.2327, allocations: 1.56 MB / 424.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009437/0.2337, allocations: 470.8 kB / 424.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.2337, allocations: 3.938 kB / 424.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.2338, allocations: 7.938 kB / 424.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.2339, allocations: 11.92 kB / 424.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.2342, allocations: 51.77 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2343, allocations: 47.8 kB / 424.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2344, allocations: 15.97 kB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.2344, allocations: 19.88 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.2345, allocations: 19.86 kB / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2345, allocations: 0 / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.2345, allocations: 4 kB / 424.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.2346, allocations: 15.98 kB / 424.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.2346, allocations: 31.8 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2347, allocations: 49.44 kB / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2347, allocations: 4 kB / 424.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2347, allocations: 0 / 424.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.2347, allocations: 0 / 424.9 MB, free: 12.12 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.0004661/0.2352, allocations: 302 kB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2352, allocations: 8.031 kB / 425.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.2353, allocations: 38.73 kB / 425.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.2353, allocations: 8.891 kB / 425.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2355, allocations: 146.3 kB / 425.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2356, allocations: 384 / 425.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2356, allocations: 8.375 kB / 425.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.2358, allocations: 105.2 kB / 425.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2358, allocations: 0 / 425.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2359, allocations: 0 / 425.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2359, allocations: 4 kB / 425.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.548e-05/0.236, allocations: 19.98 kB / 425.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.2363, allocations: 236.7 kB / 425.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.2364, allocations: 41.2 kB / 425.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.2364, allocations: 25.72 kB / 425.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.2364, allocations: 3.984 kB / 425.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.2365, allocations: 34.56 kB / 425.8 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2365, allocations: 0 / 425.8 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002357/0.2367, allocations: 65.83 kB / 425.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.2368, allocations: 85.14 kB / 426 MB, free: 10.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2369, allocations: 144.7 kB / 426.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2369, allocations: 25.7 kB / 426.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.237, allocations: 88.12 kB / 426.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.237, allocations: 4 kB / 426.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.237, allocations: 21.61 kB / 426.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2372, allocations: 318.8 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.2372, allocations: 11.98 kB / 426.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.2373, allocations: 17.72 kB / 426.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.2373, allocations: 37.7 kB / 426.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2373, allocations: 0 / 426.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.2375, allocations: 61.55 kB / 426.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2375, allocations: 4 kB / 426.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2375, allocations: 0 / 426.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2375, allocations: 0 / 426.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.2375, allocations: 8 kB / 426.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2376, allocations: 4.062 kB / 426.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.2376, allocations: 3.984 kB / 426.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2376, allocations: 4 kB / 426.7 MB, free: 10.04 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 9.108e-05/0.2377, allocations: 121.7 kB / 426.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.2377, allocations: 37.66 kB / 426.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.2378, allocations: 11.8 kB / 426.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2378, allocations: 4 kB / 426.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2378, allocations: 0 / 426.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2378, allocations: 0 / 426.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.238, allocations: 136.7 kB / 427 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.238, allocations: 4 kB / 427 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.238, allocations: 19.91 kB / 427 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.238, allocations: 0 / 427 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.238, allocations: 0 / 427 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.238, allocations: 0 / 427 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.238, allocations: 4 kB / 427 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.2382, allocations: 160.3 kB / 427.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.2382, allocations: 11.95 kB / 427.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2383, allocations: 3.984 kB / 427.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.2383, allocations: 8.031 kB / 427.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.2383, allocations: 0 / 427.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.2384, allocations: 0 / 427.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.2384, allocations: 111.2 kB / 427.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2384, allocations: 3.938 kB / 427.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.2387, allocations: 4 kB / 427.3 MB, free: 9.332 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.0004846/0.2391, allocations: 0.6936 MB / 428 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.2393, allocations: 27.95 kB / 428 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2393, allocations: 0 / 428 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.2393, allocations: 12 kB / 428.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.2397, allocations: 23.39 kB / 428.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.241, allocations: 1.334 MB / 429.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.2411, allocations: 75.2 kB / 429.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.912e-05/0.2411, allocations: 3.984 kB / 429.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.2412, allocations: 15.44 kB / 429.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2412, allocations: 0 / 429.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.2695, allocations: 2.066 MB / 431.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.23, allocations: 13.14 kB / 431.6 MB, free: 5.078 MB / 334.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.72397136921063]