Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001624, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 96.36 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5841/0.5841, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004545, allocations: 8 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007583/0.1366, allocations: 4.17 MB / 494.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.1409, allocations: 1.524 MB / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005704/0.1415, allocations: 20 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.1422, allocations: 175 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.1434, allocations: 287.2 kB / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.1455, allocations: 0.5415 MB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.1471, allocations: 0.5651 MB / 497.5 MB, free: 3.684 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003967/0.1511, allocations: 1.263 MB / 498.8 MB, free: 2.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006034/0.1517, allocations: 286.8 kB / 499 MB, free: 2.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.1525, allocations: 358.5 kB / 499.4 MB, free: 1.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.1526, allocations: 44 kB / 499.4 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006921/0.1533, allocations: 135.9 kB / 499.6 MB, free: 1.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1535, allocations: 131.5 kB / 499.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.1538, allocations: 173.3 kB / 499.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.1554, allocations: 0.8765 MB / 0.489 GB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1555, allocations: 0 / 0.489 GB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1555, allocations: 0 / 0.489 GB, free: 400 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.1555, allocations: 0 / 0.489 GB, free: 400 kB / 378.7 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.3055/0.461, allocations: 1.196 MB / 0.4902 GB, free: 42.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4611, allocations: 9.609 kB / 0.4902 GB, free: 42.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.4633, allocations: 234.1 kB / 0.4904 GB, free: 42.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.4637, allocations: 254.2 kB / 0.4906 GB, free: 42.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.4639, allocations: 77.36 kB / 0.4907 GB, free: 42.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004037/0.4643, allocations: 100.8 kB / 0.4908 GB, free: 42.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.4674, allocations: 0.9169 MB / 0.4917 GB, free: 42.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.637e-05/0.4675, allocations: 7.453 kB / 0.4917 GB, free: 42.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.4676, allocations: 43.75 kB / 0.4918 GB, free: 42.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.4677, allocations: 24.78 kB / 0.4918 GB, free: 42.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.4701, allocations: 0.7179 MB / 0.4925 GB, free: 42.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008475/0.4786, allocations: 3.952 MB / 0.4963 GB, free: 40.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.4819, allocations: 3.368 MB / 0.4996 GB, free: 36.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.4822, allocations: 93.59 kB / 0.4997 GB, free: 36.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.4822, allocations: 54.73 kB / 0.4998 GB, free: 36.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.616e-06/0.4822, allocations: 0 / 0.4998 GB, free: 36.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004448/0.4867, allocations: 1.32 MB / 0.5011 GB, free: 36.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.4868, allocations: 139.5 kB / 0.5012 GB, free: 35.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/0.4873, allocations: 312.8 kB / 0.5015 GB, free: 35.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.4874, allocations: 36.45 kB / 0.5015 GB, free: 35.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.4877, allocations: 459.7 kB / 0.502 GB, free: 35.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.4879, allocations: 228.9 kB / 0.5022 GB, free: 35.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.488, allocations: 16.12 kB / 0.5022 GB, free: 35.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.4881, allocations: 351 kB / 0.5025 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/0.4886, allocations: 199.5 kB / 0.5027 GB, free: 34.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/0.4893, allocations: 403.4 kB / 0.5031 GB, free: 34.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/0.49, allocations: 257.4 kB / 0.5033 GB, free: 34.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.49, allocations: 2.5 kB / 0.5033 GB, free: 34.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002269/0.4923, allocations: 0.8659 MB / 0.5042 GB, free: 33.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.4924, allocations: 5.625 kB / 0.5042 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4924, allocations: 6.469 kB / 0.5042 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009878/0.4934, allocations: 229.2 kB / 0.5044 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/0.4944, allocations: 140.1 kB / 0.5046 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.501, allocations: 6.305 MB / 0.5107 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/0.5019, allocations: 91.22 kB / 0.5108 GB, free: 27.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.502, allocations: 35.22 kB / 0.5108 GB, free: 27.84 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004533/0.5025, allocations: 226.2 kB / 0.5111 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.5027, allocations: 40.36 kB / 0.5111 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.5046, allocations: 0.6875 MB / 0.5118 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5046, allocations: 5.688 kB / 0.5118 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.5046, allocations: 5.906 kB / 0.5118 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.5047, allocations: 6.062 kB / 0.5118 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.5084, allocations: 1.568 MB / 0.5133 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.5084, allocations: 1.188 kB / 0.5133 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.509, allocations: 69.27 kB / 0.5134 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009337/0.5099, allocations: 212.5 kB / 0.5136 GB, free: 26.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/0.51, allocations: 17.03 kB / 0.5136 GB, free: 26.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007888/0.5179, allocations: 6.292 MB / 0.5197 GB, free: 20.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.518, allocations: 10.97 kB / 0.5198 GB, free: 20.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.5204, allocations: 1.211 MB / 0.5209 GB, free: 19.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.5206, allocations: 124.8 kB / 0.5211 GB, free: 19.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.5207, allocations: 18.94 kB / 0.5211 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/0.5213, allocations: 14.17 kB / 0.5211 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.5215, allocations: 60.8 kB / 0.5211 GB, free: 19.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.5216, allocations: 21.72 kB / 0.5212 GB, free: 19.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003549/0.5219, allocations: 210.7 kB / 0.5214 GB, free: 19.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5219, allocations: 0 / 0.5214 GB, free: 19.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00143/0.5234, allocations: 280.2 kB / 0.5216 GB, free: 19.25 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003041/0.5237, allocations: 137.9 kB / 0.5218 GB, free: 19.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002189/0.5259, allocations: 1.082 MB / 0.5228 GB, free: 18.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.526, allocations: 256 / 0.5228 GB, free: 18.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.5273, allocations: 0.776 MB / 0.5236 GB, free: 17.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.528, allocations: 37.41 kB / 0.5236 GB, free: 17.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.5311, allocations: 1.59 MB / 0.5252 GB, free: 16.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.5316, allocations: 0.9282 MB / 0.5261 GB, free: 16.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.5319, allocations: 44.94 kB / 0.5261 GB, free: 16.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5319, allocations: 0 / 0.5261 GB, free: 16.05 MB / 378.7 MB Notification: Performance of Templates: time 0.02846/0.5604, allocations: 18.07 MB / 0.5438 GB, free: 12.21 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches