Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008947/0.0008947, allocations: 92.31 kB / 20.95 MB, free: 3.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 164.9 kB / 24.26 MB, free: 292 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9196/0.9196, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2489/0.2489, allocations: 34.24 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.000196/0.000196, allocations: 3.984 kB / 376.7 MB, free: 3.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/0.0002178, allocations: 4.422 kB / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.004185/0.004403, allocations: 1.704 MB / 378.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001618/0.004564, allocations: 79.72 kB / 378.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.004606, allocations: 0 / 378.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.004653, allocations: 23.8 kB / 378.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.932e-05/0.004712, allocations: 19.78 kB / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.277e-05/0.004805, allocations: 23.97 kB / 378.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.004928, allocations: 115.5 kB / 378.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.005088, allocations: 39.88 kB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.005173, allocations: 67.86 kB / 378.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.005224, allocations: 35.89 kB / 378.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.005247, allocations: 12 kB / 378.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.005259, allocations: 12 kB / 378.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.005283, allocations: 23.91 kB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.005318, allocations: 35.92 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.00544, allocations: 119.6 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005442, allocations: 0 / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.005444, allocations: 0 / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.005447, allocations: 4 kB / 379 MB, free: 1.117 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004177/0.005865, allocations: 341.9 kB / 379.3 MB, free: 0.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.00591, allocations: 12.03 kB / 379.3 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.005947, allocations: 42.73 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.005986, allocations: 20.83 kB / 379.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.06e-05/0.006077, allocations: 117.7 kB / 379.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.00609, allocations: 4.375 kB / 379.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.006105, allocations: 16.38 kB / 379.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.006323, allocations: 133.8 kB / 379.6 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.006329, allocations: 192 / 379.6 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.006341, allocations: 384 / 379.6 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.006349, allocations: 8.125 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.006527, allocations: 99.92 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.007058, allocations: 426.7 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.007217, allocations: 78.53 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.007354, allocations: 64.86 kB / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.007366, allocations: 0 / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.007389, allocations: 42.56 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.00739, allocations: 0 / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005066/0.007896, allocations: 190.2 kB / 380.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.007933, allocations: 59.41 kB / 380.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.359e-05/0.008026, allocations: 117.8 kB / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.008039, allocations: 25.7 kB / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.008103, allocations: 112.1 kB / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.008122, allocations: 27.83 kB / 380.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.008153, allocations: 21.66 kB / 380.9 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.00825, allocations: 310.8 kB / 381.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.008335, allocations: 40.2 kB / 381.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.236e-05/0.008427, allocations: 66.52 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.0086, allocations: 98.44 kB / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008602, allocations: 0 / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002379/0.00884, allocations: 158.3 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.008853, allocations: 4 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.008859, allocations: 0 / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.009011, allocations: 20.84 kB / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.009089, allocations: 19.98 kB / 381.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006972/0.009787, allocations: 1.299 MB / 382.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.009832, allocations: 16 kB / 382.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.009839, allocations: 7.938 kB / 382.9 MB, free: 12.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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 6.936e-05/0.009908, allocations: 117.8 kB / 383 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.009936, allocations: 7.953 kB / 383 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.153e-05/0.009947, allocations: 12.38 kB / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-07/0.009948, allocations: 0 / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.009951, allocations: 0 / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.009953, allocations: 8.062 kB / 383.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.01033, allocations: 383.2 kB / 383.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.01033, allocations: 8.125 kB / 383.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.01037, allocations: 11.98 kB / 383.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.777e-05/0.01041, allocations: 28.97 kB / 383.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.01042, allocations: 32 / 383.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005916/0.01101, allocations: 1.311 MB / 384.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01101, allocations: 0 / 384.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.01124, allocations: 245 kB / 385 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.01124, allocations: 3.953 kB / 385 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-06/0.01125, allocations: 8.062 kB / 385 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.069e-05/0.0113, allocations: 7.984 kB / 385.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.01134, allocations: 11.98 kB / 385.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.01135, allocations: 4 kB / 385.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.709e-05/0.01139, allocations: 95.2 kB / 385.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01139, allocations: 0 / 385.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.01157, allocations: 27.94 kB / 385.2 MB, free: 10.34 MB / 362.7 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 (4): * Single equations (assignments): 3 * 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.00043/0.012, allocations: 0.7687 MB / 386 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.01233, allocations: 202.4 kB / 386.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01233, allocations: 0 / 386.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.01247, allocations: 166.9 kB / 386.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.01271, allocations: 12.06 kB / 386.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.01401, allocations: 1.611 MB / 387.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.512e-05/0.01407, allocations: 89.44 kB / 388 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.733e-05/0.0141, allocations: 4 kB / 388 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.01415, allocations: 28.62 kB / 388.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01415, allocations: 0 / 388.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.03202, allocations: 3.143 MB / 391.2 MB, free: 4.219 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.068, allocations: 3.938 kB / 391.2 MB, free: 4.215 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reluctance.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.100616954267025]