Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",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.001312/0.001313, allocations: 106 kB / 16.27 MB, free: 6.41 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.001307/0.001307, allocations: 190.2 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1944/0.1944, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 75.06 kB / 382.8 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.098, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004702/0.1027, allocations: 5.277 MB / 445.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1052, allocations: 1.62 MB / 447.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.1055, allocations: 16 kB / 447.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.1086, allocations: 1.59 MB / 449.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007382/0.1094, allocations: 305.7 kB / 449.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.1107, allocations: 0.6813 MB / 450.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000781/0.1115, allocations: 0.7931 MB / 450.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.1125, allocations: 0.7409 MB / 451.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.113, allocations: 334.8 kB / 452 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.1135, allocations: 466.1 kB / 452.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1136, allocations: 80 kB / 452.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.114, allocations: 183.9 kB / 452.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1142, allocations: 179.3 kB / 452.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.1146, allocations: 421.9 kB / 453.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.1157, allocations: 1.145 MB / 454.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1157, allocations: 0 / 454.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1157, allocations: 0 / 454.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.1158, allocations: 0 / 454.4 MB, free: 8.93 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003246/0.119, allocations: 1.346 MB / 455.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1191, allocations: 15.89 kB / 455.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.1193, allocations: 152.4 kB / 455.9 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.1206, allocations: 227.7 kB / 456.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1209, allocations: 263.7 kB / 456.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.1211, allocations: 86.31 kB / 456.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.1212, allocations: 96 kB / 456.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.1227, allocations: 0.936 MB / 457.5 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.1227, allocations: 3.906 kB / 457.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.434e-05/0.1228, allocations: 40 kB / 457.6 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.1228, allocations: 24 kB / 457.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1241, allocations: 0.7223 MB / 458.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005056/0.1291, allocations: 3.944 MB / 462.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.1318, allocations: 3.368 MB / 465.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.1322, allocations: 294.5 kB / 465.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.1323, allocations: 101.4 kB / 466 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1324, allocations: 42.89 kB / 466.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.745e-06/0.1324, allocations: 0 / 466.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.002557/0.135, allocations: 1.328 MB / 467.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.135, allocations: 140.5 kB / 467.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.1354, allocations: 318.8 kB / 467.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.1355, allocations: 37.7 kB / 467.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.1357, allocations: 402.3 kB / 468.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.1359, allocations: 224.8 kB / 468.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.136, allocations: 146.5 kB / 468.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1362, allocations: 354.7 kB / 469 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.1365, allocations: 201.9 kB / 469.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.137, allocations: 400.6 kB / 469.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008291/0.1378, allocations: 0.6154 MB / 470.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1378, allocations: 11.88 kB / 470.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001372/0.1392, allocations: 0.8853 MB / 471.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1392, allocations: 4.625 kB / 471.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1393, allocations: 8 kB / 471.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005957/0.1399, allocations: 223.4 kB / 471.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.1403, allocations: 143.8 kB / 471.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/0.1456, allocations: 6.705 MB / 478.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.1461, allocations: 79.12 kB / 478.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.1462, allocations: 43.92 kB / 478.3 MB, free: 15.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003361/0.1465, allocations: 220.1 kB / 478.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.1467, allocations: 43.53 kB / 478.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.1478, allocations: 0.6987 MB / 479.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1479, allocations: 8 kB / 479.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1479, allocations: 8 kB / 479.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.1479, allocations: 11.92 kB / 479.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.1501, allocations: 1.566 MB / 480.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1501, allocations: 4 kB / 480.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.1504, allocations: 63.91 kB / 480.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.1509, allocations: 227.5 kB / 481.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.1509, allocations: 19.98 kB / 481.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005262/0.1562, allocations: 6.69 MB / 487.8 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1562, allocations: 3.938 kB / 487.8 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.1577, allocations: 1.186 MB / 489 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1579, allocations: 124.5 kB / 489.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.158, allocations: 12 kB / 489.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.1583, allocations: 20 kB / 489.2 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1584, allocations: 59.86 kB / 489.2 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.1584, allocations: 16 kB / 489.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.1587, allocations: 218 kB / 489.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1587, allocations: 0 / 489.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001009/0.1597, allocations: 271.2 kB / 489.7 MB, free: 2.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001868/0.1616, allocations: 1.759 MB / 491.5 MB, free: 1.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.1634, allocations: 1.103 MB / 492.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.1634, allocations: 4 kB / 492.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.1642, allocations: 0.772 MB / 493.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.1648, allocations: 48.67 kB / 493.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007066/0.1719, allocations: 5.191 MB / 498.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.1725, allocations: 0.9111 MB / 499.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.1728, allocations: 68.64 kB / 499.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.1731, allocations: 231.3 kB / 499.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1731, allocations: 0 / 499.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06065/0.2338, allocations: 11.4 MB / 0.4992 GB, free: 12.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.772/10.01, allocations: 19.66 kB / 0.4992 GB, free: 12.94 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches