Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_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_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 202.8 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.6 MB / 243.1 MB, free: 14.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000796/0.000796, allocations: 97.02 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1821/0.1821, allocations: 44.84 MB / 392 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003636, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1065, allocations: 62.96 MB / 0.5153 GB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1722/0.2787, allocations: 4.524 MB / 0.5198 GB, free: 9.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.2808, allocations: 1.492 MB / 0.5212 GB, free: 9.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.2811, allocations: 18.94 kB / 0.5212 GB, free: 9.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.2814, allocations: 169.7 kB / 0.5214 GB, free: 9.395 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.282, allocations: 259.5 kB / 0.5216 GB, free: 9.285 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.2827, allocations: 424.6 kB / 0.522 GB, free: 9.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005617/0.2833, allocations: 0.7353 MB / 0.5228 GB, free: 8.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.2853, allocations: 1.297 MB / 0.524 GB, free: 8.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004313/0.2858, allocations: 278.6 kB / 0.5243 GB, free: 7.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.2861, allocations: 392.9 kB / 0.5247 GB, free: 7.734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.2862, allocations: 38.56 kB / 0.5247 GB, free: 7.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.2866, allocations: 157 kB / 0.5249 GB, free: 7.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.2867, allocations: 133.4 kB / 0.525 GB, free: 7.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2868, allocations: 169 kB / 0.5251 GB, free: 7.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000927/0.2877, allocations: 0.8972 MB / 0.526 GB, free: 7.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2877, allocations: 0 / 0.526 GB, free: 7.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2878, allocations: 0 / 0.526 GB, free: 7.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.2878, allocations: 0 / 0.526 GB, free: 7.266 MB / 346.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.002746/0.2905, allocations: 1.221 MB / 0.5272 GB, free: 6.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2906, allocations: 9.266 kB / 0.5272 GB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.292, allocations: 240.7 kB / 0.5274 GB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.2922, allocations: 258.6 kB / 0.5277 GB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.2923, allocations: 79.25 kB / 0.5278 GB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.2924, allocations: 105.1 kB / 0.5279 GB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.2939, allocations: 0.9292 MB / 0.5288 GB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.2939, allocations: 1.969 kB / 0.5288 GB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.294, allocations: 40.44 kB / 0.5288 GB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.294, allocations: 24.25 kB / 0.5288 GB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.2952, allocations: 0.7217 MB / 0.5295 GB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004298/0.2995, allocations: 4.116 MB / 0.5336 GB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.3014, allocations: 3.366 MB / 0.5369 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.3018, allocations: 285.7 kB / 0.5371 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.3019, allocations: 182.2 kB / 0.5373 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3019, allocations: 46.59 kB / 0.5373 GB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 4.639e-06/0.302, allocations: 5.359 kB / 0.5373 GB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.002584/0.3045, allocations: 1.339 MB / 0.5387 GB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3046, allocations: 139.5 kB / 0.5388 GB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.305, allocations: 319.4 kB / 0.5391 GB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.3051, allocations: 36.08 kB / 0.5391 GB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.3053, allocations: 396.9 kB / 0.5395 GB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.3055, allocations: 229.9 kB / 0.5397 GB, free: 12.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.3055, allocations: 14.97 kB / 0.5397 GB, free: 12.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3056, allocations: 357.4 kB / 0.5401 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.306, allocations: 196.3 kB / 0.5403 GB, free: 12.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.3064, allocations: 400.9 kB / 0.5407 GB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.3069, allocations: 261.2 kB / 0.5409 GB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3069, allocations: 1.594 kB / 0.5409 GB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001429/0.3083, allocations: 0.8764 MB / 0.5418 GB, free: 11.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3083, allocations: 7.391 kB / 0.5418 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3084, allocations: 6.844 kB / 0.5418 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/0.309, allocations: 222.5 kB / 0.542 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.3094, allocations: 145.9 kB / 0.5421 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004874/0.3143, allocations: 6.226 MB / 0.5482 GB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.3148, allocations: 86.52 kB / 0.5483 GB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.3148, allocations: 40.09 kB / 0.5483 GB, free: 5.438 MB / 362.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.0002913/0.3151, allocations: 228.5 kB / 0.5485 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3153, allocations: 40.12 kB / 0.5486 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.3164, allocations: 0.6887 MB / 0.5493 GB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3164, allocations: 6.812 kB / 0.5493 GB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3164, allocations: 9.281 kB / 0.5493 GB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.3164, allocations: 4.734 kB / 0.5493 GB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.3187, allocations: 1.567 MB / 0.5508 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3187, allocations: 5.094 kB / 0.5508 GB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.3189, allocations: 69.34 kB / 0.5509 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/0.3194, allocations: 216.2 kB / 0.5511 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3194, allocations: 12.5 kB / 0.5511 GB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004596/0.324, allocations: 6.227 MB / 0.5572 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3241, allocations: 1.094 kB / 0.5572 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.3255, allocations: 1.183 MB / 0.5583 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3256, allocations: 126.2 kB / 0.5584 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.3257, allocations: 19.66 kB / 0.5585 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.326, allocations: 13.31 kB / 0.5585 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.3261, allocations: 52.77 kB / 0.5585 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.3261, allocations: 17.06 kB / 0.5585 GB, free: 12.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.3263, allocations: 213.1 kB / 0.5587 GB, free: 12.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3264, allocations: 4.062 kB / 0.5588 GB, free: 12.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008985/0.3273, allocations: 283.5 kB / 0.559 GB, free: 12.45 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.0002091/0.3275, allocations: 130.8 kB / 0.5591 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.3288, allocations: 1.077 MB / 0.5602 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3288, allocations: 0 / 0.5602 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007472/0.3296, allocations: 0.7812 MB / 0.561 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.3301, allocations: 46.94 kB / 0.561 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.332, allocations: 1.599 MB / 0.5626 GB, free: 9.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.3325, allocations: 0.9168 MB / 0.5635 GB, free: 8.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3326, allocations: 41.69 kB / 0.5635 GB, free: 8.906 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3326, allocations: 0 / 0.5635 GB, free: 8.906 MB / 378.7 MB Notification: Performance of Templates: time 0.01755/0.3501, allocations: 19.35 MB / 0.5824 GB, free: 6.152 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches