Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.3 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.11 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 75.91 kB / 416.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1332, allocations: 62.45 MB / 479.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.008141/0.1414, allocations: 5.304 MB / 484.6 MB, free: 364 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.1449, allocations: 1.635 MB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007181/0.1457, allocations: 16 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.1493, allocations: 1.51 MB / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.1504, allocations: 254.3 kB / 488 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1518, allocations: 0.4905 MB / 488.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.1529, allocations: 0.7581 MB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.1543, allocations: 0.6726 MB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.155, allocations: 334.6 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007651/0.1558, allocations: 450.2 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.156, allocations: 60 kB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.1567, allocations: 183.9 kB / 490.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.1569, allocations: 155.4 kB / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.1575, allocations: 413.9 kB / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.159, allocations: 1.141 MB / 492.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.159, allocations: 0 / 492.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.159, allocations: 0 / 492.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.106e-05/0.1591, allocations: 4 kB / 492.6 MB, free: 8.289 MB / 366.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.003773/0.1628, allocations: 1.354 MB / 494 MB, free: 6.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1629, allocations: 9.953 kB / 494 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.1646, allocations: 243.7 kB / 494.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.165, allocations: 255.8 kB / 494.5 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.1651, allocations: 74.55 kB / 494.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.1654, allocations: 111.8 kB / 494.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.1673, allocations: 0.9282 MB / 495.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.1674, allocations: 8 kB / 495.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/0.1675, allocations: 47.94 kB / 495.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.1675, allocations: 24 kB / 495.7 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.1689, allocations: 0.7299 MB / 496.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005024/0.1739, allocations: 4.103 MB / 0.4888 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.1763, allocations: 3.365 MB / 0.4921 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.1768, allocations: 298 kB / 0.4924 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.1769, allocations: 182.5 kB / 0.4925 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.177, allocations: 38.89 kB / 0.4926 GB, free: 11.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.535e-06/0.177, allocations: 0 / 0.4926 GB, free: 11.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002619/0.1796, allocations: 1.325 MB / 0.4939 GB, free: 9.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.1797, allocations: 140.6 kB / 0.494 GB, free: 9.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.1801, allocations: 322.7 kB / 0.4943 GB, free: 9.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1801, allocations: 33.7 kB / 0.4943 GB, free: 9.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.1803, allocations: 398.4 kB / 0.4947 GB, free: 9.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.1805, allocations: 228.7 kB / 0.4949 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.1808, allocations: 146.5 kB / 0.4951 GB, free: 8.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1809, allocations: 354.7 kB / 0.4954 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.1813, allocations: 205.9 kB / 0.4956 GB, free: 8.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.1817, allocations: 392.7 kB / 0.496 GB, free: 7.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008373/0.1826, allocations: 0.6262 MB / 0.4966 GB, free: 6.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.536e-05/0.1826, allocations: 7.938 kB / 0.4966 GB, free: 6.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001521/0.1842, allocations: 0.8933 MB / 0.4975 GB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.1842, allocations: 8 kB / 0.4975 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.1842, allocations: 4 kB / 0.4975 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000657/0.1849, allocations: 227.6 kB / 0.4977 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.1854, allocations: 139.8 kB / 0.4978 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2564/0.4417, allocations: 6.221 MB / 0.5039 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.4424, allocations: 87.14 kB / 0.504 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.4425, allocations: 33.66 kB / 0.504 GB, free: 39.41 MB / 382.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.0003565/0.4429, allocations: 229.7 kB / 0.5042 GB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.443, allocations: 40.47 kB / 0.5043 GB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.4443, allocations: 0.6827 MB / 0.5049 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4443, allocations: 8.25 kB / 0.505 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4443, allocations: 6.859 kB / 0.505 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4443, allocations: 4.234 kB / 0.505 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.4469, allocations: 1.569 MB / 0.5065 GB, free: 38.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4469, allocations: 5.922 kB / 0.5065 GB, free: 38.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.4472, allocations: 68.19 kB / 0.5066 GB, free: 38.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/0.4477, allocations: 211.5 kB / 0.5068 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.4478, allocations: 18.31 kB / 0.5068 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/0.4519, allocations: 6.222 MB / 0.5129 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4519, allocations: 1.188 kB / 0.5129 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.4534, allocations: 1.187 MB / 0.514 GB, free: 32.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.4535, allocations: 126 kB / 0.5141 GB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.4536, allocations: 12.12 kB / 0.5142 GB, free: 32.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.4539, allocations: 14.31 kB / 0.5142 GB, free: 32.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.454, allocations: 57.52 kB / 0.5142 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.454, allocations: 17.8 kB / 0.5142 GB, free: 32.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.4543, allocations: 216 kB / 0.5144 GB, free: 31.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4543, allocations: 0 / 0.5144 GB, free: 31.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00106/0.4554, allocations: 275.5 kB / 0.5147 GB, free: 31.83 MB / 382.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.0002388/0.4556, allocations: 148.3 kB / 0.5149 GB, free: 31.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4569, allocations: 1.077 MB / 0.5159 GB, free: 31.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.457, allocations: 0 / 0.5159 GB, free: 31.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.4577, allocations: 0.7767 MB / 0.5167 GB, free: 30.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.4584, allocations: 41.39 kB / 0.5167 GB, free: 30.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.4606, allocations: 1.612 MB / 0.5183 GB, free: 29.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.4611, allocations: 0.9096 MB / 0.5192 GB, free: 28.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.4614, allocations: 69.44 kB / 0.5192 GB, free: 28.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.4615, allocations: 38.62 kB / 0.5193 GB, free: 28.61 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4615, allocations: 0 / 0.5193 GB, free: 28.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01297/0.4744, allocations: 6.477 MB / 0.5256 GB, free: 27.66 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches