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.001181/0.001181, allocations: 175.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006856/0.0006856, allocations: 94.34 kB / 271.2 MB, free: 8.25 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.3267/0.3267, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004051, allocations: 12 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1274, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004821/0.1322, allocations: 4.512 MB / 495.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.1346, allocations: 1.488 MB / 496.8 MB, free: 4.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.1349, allocations: 20 kB / 496.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.1353, allocations: 175 kB / 497 MB, free: 4.672 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.1359, allocations: 254.3 kB / 497.3 MB, free: 4.422 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1369, allocations: 0.5416 MB / 497.8 MB, free: 3.879 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006982/0.1376, allocations: 0.7424 MB / 498.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.1399, allocations: 1.355 MB / 499.9 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.1402, allocations: 270.9 kB / 0.4885 GB, free: 1.477 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.1407, allocations: 394.4 kB / 0.4888 GB, free: 1.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.1408, allocations: 40 kB / 0.4889 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.1411, allocations: 147.8 kB / 0.489 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1412, allocations: 127.5 kB / 0.4891 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.1416, allocations: 383.9 kB / 0.4895 GB, free: 408 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1875/0.329, allocations: 0.8817 MB / 0.4904 GB, free: 36.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3291, allocations: 0 / 0.4904 GB, free: 36.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3291, allocations: 1.219 kB / 0.4904 GB, free: 36.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.3291, allocations: 0 / 0.4904 GB, free: 36.54 MB / 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.002771/0.3319, allocations: 1.197 MB / 0.4915 GB, free: 35.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3319, allocations: 9.094 kB / 0.4915 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.3332, allocations: 230.2 kB / 0.4918 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.3334, allocations: 257.8 kB / 0.492 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.3335, allocations: 81.33 kB / 0.4921 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.3337, allocations: 105 kB / 0.4922 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.3353, allocations: 0.9209 MB / 0.4931 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.3353, allocations: 10.34 kB / 0.4931 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.689e-05/0.3354, allocations: 39.22 kB / 0.4931 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.3354, allocations: 27.86 kB / 0.4931 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.3367, allocations: 0.7183 MB / 0.4939 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004474/0.3412, allocations: 3.954 MB / 0.4977 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.3429, allocations: 3.366 MB / 0.501 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.3433, allocations: 292.1 kB / 0.5013 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.886e-05/0.3434, allocations: 95.52 kB / 0.5014 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3434, allocations: 48.17 kB / 0.5014 GB, free: 30.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.355e-06/0.3434, allocations: 0 / 0.5014 GB, free: 30.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002344/0.3458, allocations: 1.341 MB / 0.5027 GB, free: 29.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.3458, allocations: 135.8 kB / 0.5029 GB, free: 29.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.3462, allocations: 313.2 kB / 0.5032 GB, free: 29.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3462, allocations: 34.77 kB / 0.5032 GB, free: 29.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.3464, allocations: 407.1 kB / 0.5036 GB, free: 28.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.3465, allocations: 230.4 kB / 0.5038 GB, free: 28.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.3465, allocations: 16.31 kB / 0.5038 GB, free: 28.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.3466, allocations: 349.5 kB / 0.5041 GB, free: 28.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.3469, allocations: 198.6 kB / 0.5043 GB, free: 28.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.3473, allocations: 399.8 kB / 0.5047 GB, free: 28.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.348, allocations: 0.6353 MB / 0.5053 GB, free: 28.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.348, allocations: 0 / 0.5053 GB, free: 28.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001174/0.3492, allocations: 0.872 MB / 0.5062 GB, free: 27.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3492, allocations: 11.59 kB / 0.5062 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3492, allocations: 6.094 kB / 0.5062 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.3497, allocations: 227 kB / 0.5064 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.3502, allocations: 138 kB / 0.5065 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.354, allocations: 6.224 MB / 0.5126 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.3545, allocations: 89.19 kB / 0.5127 GB, free: 22.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.3545, allocations: 39.31 kB / 0.5128 GB, free: 22.79 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.0003109/0.3549, allocations: 223.4 kB / 0.513 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.355, allocations: 45.91 kB / 0.513 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.3562, allocations: 0.6901 MB / 0.5137 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3562, allocations: 7 kB / 0.5137 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3562, allocations: 5.969 kB / 0.5137 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3562, allocations: 3 kB / 0.5137 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.3591, allocations: 1.565 MB / 0.5152 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3592, allocations: 6.875 kB / 0.5152 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.3594, allocations: 74.23 kB / 0.5153 GB, free: 21.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/0.36, allocations: 214.6 kB / 0.5155 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.36, allocations: 14.38 kB / 0.5155 GB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/0.3643, allocations: 6.223 MB / 0.5216 GB, free: 31.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3643, allocations: 3.938 kB / 0.5216 GB, free: 31.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.3657, allocations: 1.177 MB / 0.5228 GB, free: 31.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3658, allocations: 132.2 kB / 0.5229 GB, free: 30.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.3658, allocations: 11.09 kB / 0.5229 GB, free: 30.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.3661, allocations: 21.16 kB / 0.5229 GB, free: 30.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.3662, allocations: 52.69 kB / 0.523 GB, free: 30.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.3663, allocations: 20.39 kB / 0.523 GB, free: 30.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.3665, allocations: 210.7 kB / 0.5232 GB, free: 30.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3665, allocations: 64 / 0.5232 GB, free: 30.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009457/0.3675, allocations: 276.6 kB / 0.5234 GB, free: 30.7 MB / 394.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.00021/0.3677, allocations: 145.4 kB / 0.5236 GB, free: 30.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.369, allocations: 1.077 MB / 0.5246 GB, free: 29.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.369, allocations: 0 / 0.5246 GB, free: 29.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.3697, allocations: 0.7849 MB / 0.5254 GB, free: 29.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.3704, allocations: 47.53 kB / 0.5254 GB, free: 29.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.3721, allocations: 1.59 MB / 0.527 GB, free: 28.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.3726, allocations: 0.9072 MB / 0.5279 GB, free: 27.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.3727, allocations: 39.53 kB / 0.5279 GB, free: 27.54 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3727, allocations: 6.094 kB / 0.5279 GB, free: 27.54 MB / 394.7 MB Notification: Performance of Templates: time 0.0165/0.3892, allocations: 19.27 MB / 0.5467 GB, free: 22.57 MB / 394.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/jenkins/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