Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001036, allocations: 91.7 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 175.7 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1932/0.1932, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002692/0.1059, allocations: 2.13 MB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1075, allocations: 1.016 MB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1076, allocations: 8 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1079, allocations: 107.6 kB / 475.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.1083, allocations: 91.5 kB / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1093, allocations: 0.5878 MB / 476.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.1097, allocations: 215 kB / 476.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009289/0.1106, allocations: 0.5094 MB / 477 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1108, allocations: 87.64 kB / 477.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.111, allocations: 103.5 kB / 477.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.111, allocations: 12 kB / 477.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.1113, allocations: 131.8 kB / 477.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.1114, allocations: 35.84 kB / 477.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1115, allocations: 121.2 kB / 477.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.112, allocations: 379 kB / 477.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.112, allocations: 0 / 477.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.112, allocations: 0 / 477.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.112, allocations: 3.938 kB / 477.9 MB, free: 7.715 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001313/0.1133, allocations: 0.5852 MB / 478.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1134, allocations: 12.03 kB / 478.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.67e-05/0.1135, allocations: 62.72 kB / 478.5 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.1138, allocations: 52.62 kB / 478.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.114, allocations: 188.1 kB / 478.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.114, allocations: 20.94 kB / 478.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.1141, allocations: 32.27 kB / 478.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.1147, allocations: 299.5 kB / 479.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1147, allocations: 7.984 kB / 479.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1147, allocations: 8 kB / 479.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1147, allocations: 4 kB / 479.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005887/0.1153, allocations: 253.6 kB / 479.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.1168, allocations: 1.005 MB / 480.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.1174, allocations: 397.7 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.1177, allocations: 145.7 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.1178, allocations: 89.09 kB / 481 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1179, allocations: 30.56 kB / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.1179, allocations: 0 / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001172/0.119, allocations: 0.5327 MB / 481.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1191, allocations: 81.22 kB / 481.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1192, allocations: 143.8 kB / 481.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1193, allocations: 29.7 kB / 481.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.1193, allocations: 148 kB / 482 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.1194, allocations: 71.08 kB / 482 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.1194, allocations: 17.72 kB / 482 MB, free: 3.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1196, allocations: 326.9 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1198, allocations: 79.94 kB / 482.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.12, allocations: 134 kB / 482.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.1205, allocations: 229.8 kB / 482.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1206, allocations: 0 / 482.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006641/0.1212, allocations: 301.7 kB / 483.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1212, allocations: 8 kB / 483.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1213, allocations: 4.188 kB / 483.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.1215, allocations: 45.7 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.1217, allocations: 51.91 kB / 483.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.1237, allocations: 2.654 MB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.1239, allocations: 27.83 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1239, allocations: 8 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.1241, allocations: 133.8 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.1241, allocations: 15.84 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006516/0.1248, allocations: 286.2 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1248, allocations: 4 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1248, allocations: 3.938 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.1248, allocations: 4 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1259, allocations: 0.6694 MB / 487 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1259, allocations: 7.938 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.1261, allocations: 39.97 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.1262, allocations: 49.7 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1263, allocations: 0 / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.128, allocations: 2.647 MB / 489.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.128, allocations: 0 / 489.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009112/0.1289, allocations: 0.5546 MB / 490.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.129, allocations: 88.95 kB / 490.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.129, allocations: 4 kB / 490.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.1292, allocations: 27.98 kB / 490.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.1293, allocations: 23.91 kB / 490.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1293, allocations: 7.938 kB / 490.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.084e-05/0.1294, allocations: 111.2 kB / 490.5 MB, free: 9.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1294, allocations: 0 / 490.5 MB, free: 9.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.1298, allocations: 75.69 kB / 490.6 MB, free: 9.859 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001421/0.1312, allocations: 1.101 MB / 491.7 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007603/0.132, allocations: 441.5 kB / 492.2 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.132, allocations: 3.938 kB / 492.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.1324, allocations: 329.4 kB / 492.5 MB, free: 7.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1328, allocations: 24 kB / 492.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.136, allocations: 2.521 MB / 495 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1363, allocations: 0.7321 MB / 495.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.387e-05/0.1364, allocations: 21.36 kB / 495.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.922e-05/0.1365, allocations: 55.41 kB / 495.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1365, allocations: 4 kB / 495.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.1517, allocations: 3.872 MB / 499.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.1519, allocations: 241.7 kB / 499.9 MB, free: 472 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.965, allocations: 0 / 499.9 MB, free: 472 kB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches