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.0008977/0.0008977, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.001152/0.001152, allocations: 169.9 kB / 23.32 MB, free: 1.207 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.8854/0.8854, allocations: 158.6 MB / 185.1 MB, free: 2.977 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.1449/0.1449, allocations: 32.36 MB / 269.7 MB, free: 14.92 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.003e-06/2.003e-06, allocations: 0 / 407 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.567e-05, allocations: 6.078 kB / 407 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003763/0.003788, allocations: 3.148 MB / 410.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.0053, allocations: 0.8109 MB / 411 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.005533, allocations: 8 kB / 411 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.005739, allocations: 75.22 kB / 411.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.005968, allocations: 142.7 kB / 411.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.006323, allocations: 127.8 kB / 411.3 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000488/0.006811, allocations: 0.5333 MB / 411.9 MB, free: 13.29 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.007119, allocations: 174.3 kB / 412 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/0.00754, allocations: 323.3 kB / 412.4 MB, free: 12.8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.007733, allocations: 163.5 kB / 412.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.007792, allocations: 52 kB / 412.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.422e-05/0.007846, allocations: 48 kB / 412.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.007916, allocations: 107.6 kB / 412.7 MB, free: 12.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.008046, allocations: 175.6 kB / 412.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.008471, allocations: 0.5646 MB / 413.4 MB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.008474, allocations: 0 / 413.4 MB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.008475, allocations: 4 kB / 413.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.008484, allocations: 4 kB / 413.5 MB, free: 11.69 MB / 394.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.001258/0.009741, allocations: 0.6883 MB / 414.1 MB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.009785, allocations: 16.03 kB / 414.2 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.933e-05/0.009854, allocations: 94.64 kB / 414.3 MB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.009919, allocations: 52.59 kB / 414.3 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.01027, allocations: 262.9 kB / 414.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.0103, allocations: 37.31 kB / 414.6 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.01036, allocations: 48.38 kB / 414.6 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.01094, allocations: 0.4993 MB / 415.1 MB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.01095, allocations: 192 / 415.1 MB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.01098, allocations: 28.12 kB / 415.2 MB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.01099, allocations: 12 kB / 415.2 MB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.01143, allocations: 320.4 kB / 415.5 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.01315, allocations: 1.532 MB / 417 MB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.01352, allocations: 232.9 kB / 417.3 MB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.01373, allocations: 125.7 kB / 417.4 MB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.01376, allocations: 4 kB / 417.4 MB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.01379, allocations: 46.5 kB / 417.4 MB, free: 7.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.01379, allocations: 0 / 417.4 MB, free: 7.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001802/0.0156, allocations: 1.129 MB / 418.6 MB, free: 6.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.01563, allocations: 81.11 kB / 418.6 MB, free: 6.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.01585, allocations: 273.8 kB / 418.9 MB, free: 5.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.01587, allocations: 29.7 kB / 418.9 MB, free: 5.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.01599, allocations: 260.1 kB / 419.2 MB, free: 5.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.01606, allocations: 130.9 kB / 419.3 MB, free: 5.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.01614, allocations: 70.2 kB / 419.4 MB, free: 5.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.01625, allocations: 342.8 kB / 419.7 MB, free: 5.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.01641, allocations: 104.9 kB / 419.8 MB, free: 4.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.01663, allocations: 213 kB / 420 MB, free: 4.715 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.01704, allocations: 355 kB / 420.4 MB, free: 4.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.01704, allocations: 0 / 420.4 MB, free: 4.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000914/0.01796, allocations: 418 kB / 420.8 MB, free: 3.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.01798, allocations: 8 kB / 420.8 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.01799, allocations: 4 kB / 420.8 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.01811, allocations: 32.78 kB / 420.8 MB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.01835, allocations: 119.9 kB / 420.9 MB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007947/0.01915, allocations: 1.339 MB / 422.3 MB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.01928, allocations: 19.98 kB / 422.3 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.0193, allocations: 16 kB / 422.3 MB, free: 2.254 MB / 394.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.0001325/0.01943, allocations: 165.7 kB / 422.5 MB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.01948, allocations: 35.75 kB / 422.5 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.01952, allocations: 38.17 kB / 422.6 MB, free: 2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01953, allocations: 4 kB / 422.6 MB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.01953, allocations: 0 / 422.6 MB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01954, allocations: 4 kB / 422.6 MB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.02023, allocations: 0.6443 MB / 423.2 MB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.02024, allocations: 8 kB / 423.2 MB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.02045, allocations: 92 kB / 423.3 MB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.078e-05/0.02052, allocations: 28.78 kB / 423.3 MB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.02054, allocations: 8 kB / 423.3 MB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006114/0.02115, allocations: 1.319 MB / 424.7 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02115, allocations: 4.031 kB / 424.7 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.02176, allocations: 0.6044 MB / 425.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.02183, allocations: 43.83 kB / 425.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.02186, allocations: 11.98 kB / 425.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.02198, allocations: 19.98 kB / 425.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.02205, allocations: 23.89 kB / 425.4 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.02206, allocations: 12 kB / 425.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.02219, allocations: 189.2 kB / 425.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02219, allocations: 0 / 425.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.0225, allocations: 92 kB / 425.6 MB, free: 14.71 MB / 410.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.0008626/0.02336, allocations: 1.147 MB / 426.8 MB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005731/0.02394, allocations: 390.9 kB / 427.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02394, allocations: 0 / 427.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.02416, allocations: 251.4 kB / 427.4 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.02449, allocations: 40.34 kB / 427.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.02803, allocations: 3.392 MB / 430.9 MB, free: 9.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.02818, allocations: 203.8 kB / 431.1 MB, free: 9.043 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.02828, allocations: 34.95 kB / 431.1 MB, free: 9.008 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.02841, allocations: 140.5 kB / 431.2 MB, free: 8.871 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02841, allocations: 7.938 kB / 431.2 MB, free: 8.863 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.05267, allocations: 7.273 MB / 438.5 MB, free: 1.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.452, allocations: 0 / 438.5 MB, free: 1.562 MB / 410.7 MB " [Timeout remaining time 652] (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.630521935410798]