Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.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.001393/0.001393, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001437/0.001437, allocations: 184.5 kB / 23.72 MB, free: 4.699 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.516/1.516, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 47.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3333, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003308/0.3366, allocations: 2.013 MB / 424.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3377, allocations: 0.5804 MB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.3378, allocations: 3.938 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.338, allocations: 39.59 kB / 425.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.312e-05/0.3381, allocations: 39.59 kB / 425.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3383, allocations: 67.8 kB / 425.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.3386, allocations: 207.2 kB / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3388, allocations: 56.5 kB / 425.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.3389, allocations: 79.64 kB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.339, allocations: 75.56 kB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.3391, allocations: 16 kB / 425.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.622e-05/0.3391, allocations: 12 kB / 425.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.3392, allocations: 35.84 kB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.148e-05/0.3392, allocations: 83.47 kB / 425.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.3395, allocations: 179.5 kB / 426.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3395, allocations: 0 / 426.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3395, allocations: 4 kB / 426.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3395, allocations: 0 / 426.1 MB, free: 11.11 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007242/0.3402, allocations: 421.2 kB / 426.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3403, allocations: 12.02 kB / 426.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.3403, allocations: 42.75 kB / 426.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.3404, allocations: 24.8 kB / 426.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.3406, allocations: 186 kB / 426.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3407, allocations: 12.12 kB / 426.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.3407, allocations: 16 kB / 426.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.341, allocations: 160.1 kB / 426.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.341, allocations: 4 kB / 427 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.3411, allocations: 4 kB / 427 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3411, allocations: 4 kB / 427 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.3413, allocations: 83.94 kB / 427 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009808/0.3423, allocations: 0.6128 MB / 427.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.3425, allocations: 131.8 kB / 427.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3427, allocations: 54.67 kB / 427.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3427, allocations: 7.984 kB / 427.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3427, allocations: 34.5 kB / 427.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.3427, allocations: 4 kB / 427.9 MB, free: 9.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005225/0.3432, allocations: 177.9 kB / 428.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.3433, allocations: 106.8 kB / 428.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.3436, allocations: 233.1 kB / 428.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3436, allocations: 29.7 kB / 428.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3437, allocations: 132 kB / 428.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.3438, allocations: 47.77 kB / 428.6 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.3439, allocations: 33.7 kB / 428.6 MB, free: 8.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.344, allocations: 338.8 kB / 429 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3442, allocations: 35.97 kB / 429 MB, free: 7.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.3443, allocations: 98.78 kB / 429.1 MB, free: 7.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.3446, allocations: 146.8 kB / 429.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3446, allocations: 0 / 429.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003509/0.345, allocations: 185.3 kB / 429.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.345, allocations: 4 kB / 429.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.345, allocations: 7.984 kB / 429.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.345, allocations: 0 / 429.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3452, allocations: 40.11 kB / 429.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3452, allocations: 0 / 429.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3453, allocations: 23.88 kB / 429.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3453, allocations: 4 kB / 429.5 MB, free: 7.422 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 17 * 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.0001294/0.3455, allocations: 137.7 kB / 429.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.3455, allocations: 19.86 kB / 429.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.3459, allocations: 190.8 kB / 429.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3459, allocations: 0 / 429.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.346, allocations: 4 kB / 429.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.346, allocations: 0 / 429.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.3464, allocations: 244.5 kB / 430.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3464, allocations: 0 / 430.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.3466, allocations: 35.86 kB / 430.1 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3466, allocations: 4 kB / 430.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3466, allocations: 11.92 kB / 430.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3466, allocations: 4 kB / 430.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3466, allocations: 4 kB / 430.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.3472, allocations: 469.9 kB / 430.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.3473, allocations: 23.86 kB / 430.6 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.3473, allocations: 12 kB / 430.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.3475, allocations: 11.98 kB / 430.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.3476, allocations: 15.92 kB / 430.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3476, allocations: 7.984 kB / 430.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.3477, allocations: 168.5 kB / 430.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3477, allocations: 0 / 430.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.3481, allocations: 32 kB / 430.9 MB, free: 5.977 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * 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 (17): * Single equations (assignments): 17 * 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.0008904/0.349, allocations: 1.002 MB / 431.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.3493, allocations: 112.4 kB / 432 MB, free: 4.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3493, allocations: 4.125 kB / 432 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3495, allocations: 64.2 kB / 432 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3499, allocations: 20.36 kB / 432.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.3531, allocations: 2.573 MB / 434.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.3535, allocations: 0.7398 MB / 435.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.504e-05/0.3536, allocations: 21.47 kB / 435.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3537, allocations: 71.41 kB / 435.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3537, allocations: 0 / 435.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.3886, allocations: 3.827 MB / 439.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 3.938 kB / 439.3 MB, free: 13.49 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Blocks_Examples_Modulation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sine.y in file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sine.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinAM.y in file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinAM.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosAM.y in file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosAM.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinFM.y in file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinFM.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosFM.y in file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosFM.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.43909408500258]