Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009067/0.0009067, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9087/0.9087, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1501/0.1501, allocations: 32.37 MB / 269.6 MB, free: 15.05 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.369e-05, allocations: 2.281 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003325/0.003348, allocations: 3.136 MB / 410 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.004861, allocations: 0.8184 MB / 410.8 MB, free: 9.566 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.005057, allocations: 11.94 kB / 410.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.005219, allocations: 71.3 kB / 410.9 MB, free: 9.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.005436, allocations: 142.7 kB / 411 MB, free: 9.344 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.00577, allocations: 127.7 kB / 411.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.006186, allocations: 0.5372 MB / 411.7 MB, free: 8.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.006455, allocations: 166.3 kB / 411.8 MB, free: 8.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004298/0.006885, allocations: 323.4 kB / 412.1 MB, free: 8.195 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.007127, allocations: 167.5 kB / 412.3 MB, free: 8.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.041e-05/0.007207, allocations: 52 kB / 412.4 MB, free: 7.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.221e-05/0.007259, allocations: 48 kB / 412.4 MB, free: 7.934 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.007331, allocations: 111.5 kB / 412.5 MB, free: 7.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.007461, allocations: 179.6 kB / 412.7 MB, free: 7.648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.007924, allocations: 0.5645 MB / 413.3 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.007926, allocations: 0 / 413.3 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.007927, allocations: 0 / 413.3 MB, free: 7.082 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.007936, allocations: 4 kB / 413.3 MB, free: 7.078 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001009/0.008945, allocations: 0.6844 MB / 413.9 MB, free: 6.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.008989, allocations: 12.03 kB / 414 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.112e-05/0.00906, allocations: 94.64 kB / 414 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.00913, allocations: 56.61 kB / 414.1 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.009486, allocations: 262.9 kB / 414.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.009516, allocations: 37.38 kB / 414.4 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.009565, allocations: 40.38 kB / 414.4 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.01017, allocations: 0.5032 MB / 414.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01019, allocations: 4.172 kB / 414.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.01022, allocations: 24.12 kB / 415 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01023, allocations: 16 kB / 415 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.01068, allocations: 324.4 kB / 415.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.0124, allocations: 1.512 MB / 416.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.01277, allocations: 225 kB / 417 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.01299, allocations: 129.7 kB / 417.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.013, allocations: 4 kB / 417.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.01303, allocations: 34.56 kB / 417.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.01303, allocations: 0 / 417.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.001889/0.01492, allocations: 1.128 MB / 418.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.01496, allocations: 85.11 kB / 418.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.01516, allocations: 261.8 kB / 418.7 MB, free: 1.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01518, allocations: 33.7 kB / 418.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.0153, allocations: 272.1 kB / 419 MB, free: 1.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.743e-05/0.01538, allocations: 122.9 kB / 419.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/0.01546, allocations: 74.19 kB / 419.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01556, allocations: 338.8 kB / 419.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.01573, allocations: 108.9 kB / 419.6 MB, free: 396 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.01595, allocations: 212.9 kB / 419.8 MB, free: 140 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.01636, allocations: 359.1 kB / 420.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01636, allocations: 0 / 420.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005184/0.01688, allocations: 414.2 kB / 420.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.0169, allocations: 8 kB / 420.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.0169, allocations: 7.984 kB / 420.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.01702, allocations: 32.84 kB / 420.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.01728, allocations: 115.9 kB / 420.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008122/0.01809, allocations: 1.338 MB / 422 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.01823, allocations: 19.94 kB / 422.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.01825, allocations: 19.94 kB / 422.1 MB, free: 13.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.01839, allocations: 157.8 kB / 422.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.01844, allocations: 35.75 kB / 422.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.01848, allocations: 38.11 kB / 422.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01849, allocations: 4 kB / 422.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.01849, allocations: 4.062 kB / 422.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.0185, allocations: 7.984 kB / 422.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007368/0.01923, allocations: 0.6404 MB / 423 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.01924, allocations: 4 kB / 423 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.01946, allocations: 87.88 kB / 423.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.27e-05/0.01952, allocations: 32.91 kB / 423.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.01955, allocations: 15.92 kB / 423.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007382/0.02028, allocations: 1.323 MB / 424.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02029, allocations: 0 / 424.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.02091, allocations: 0.605 MB / 425 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.02099, allocations: 47.83 kB / 425.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.02101, allocations: 4 kB / 425.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.02114, allocations: 19.98 kB / 425.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.0212, allocations: 27.89 kB / 425.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.02121, allocations: 12 kB / 425.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.02134, allocations: 185.2 kB / 425.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02134, allocations: 4 kB / 425.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.02165, allocations: 92 kB / 425.4 MB, free: 10.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008845/0.02254, allocations: 1.136 MB / 426.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.02307, allocations: 397.7 kB / 426.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.02307, allocations: 4 kB / 426.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.02328, allocations: 239.4 kB / 427.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.02359, allocations: 40.7 kB / 427.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.02701, allocations: 3.408 MB / 430.6 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.02717, allocations: 207.8 kB / 430.8 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.02727, allocations: 38.89 kB / 430.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.02741, allocations: 136.5 kB / 431 MB, free: 4.289 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02741, allocations: 0 / 431 MB, free: 4.289 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.05131, allocations: 7.274 MB / 438.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.356, allocations: 0 / 438.3 MB, free: 13.03 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.760882157832384]