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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8745/0.8745, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1225/0.1225, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.491e-05, allocations: 9.453 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004729/0.004764, allocations: 4.716 MB / 412.8 MB, free: 8.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.007209, allocations: 1.554 MB / 414.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.007533, allocations: 20 kB / 414.4 MB, free: 6.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.009212, allocations: 1.551 MB / 415.9 MB, free: 5.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.009786, allocations: 325.3 kB / 416.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.01077, allocations: 0.4906 MB / 416.8 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.01134, allocations: 0.8392 MB / 417.6 MB, free: 3.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.012, allocations: 0.6273 MB / 418.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003593/0.01236, allocations: 0.495 MB / 418.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.0127, allocations: 347 kB / 419.1 MB, free: 2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.01276, allocations: 76 kB / 419.1 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.01301, allocations: 183.8 kB / 419.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.01309, allocations: 179.3 kB / 419.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.01326, allocations: 287.3 kB / 419.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.01405, allocations: 1.168 MB / 420.9 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01405, allocations: 3.938 kB / 420.9 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01405, allocations: 0 / 420.9 MB, free: 116 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.01406, allocations: 0 / 420.9 MB, free: 116 kB / 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.00182/0.01588, allocations: 1.293 MB / 422.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.01592, allocations: 8.031 kB / 422.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006809/0.0166, allocations: 236.1 kB / 422.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.01677, allocations: 201.3 kB / 422.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.01682, allocations: 74.38 kB / 422.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.01692, allocations: 104.3 kB / 422.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.01811, allocations: 0.9288 MB / 423.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.01814, allocations: 7.891 kB / 423.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.01819, allocations: 44 kB / 423.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.0182, allocations: 24 kB / 423.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.01901, allocations: 0.7182 MB / 424.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.02156, allocations: 2.695 MB / 427.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.02243, allocations: 0.7455 MB / 428 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.02266, allocations: 260.3 kB / 428.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.02271, allocations: 20.31 kB / 428.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.02274, allocations: 46.83 kB / 428.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.056e-06/0.02274, allocations: 0 / 428.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.00148/0.02422, allocations: 1.016 MB / 429.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.02427, allocations: 140.5 kB / 429.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.02448, allocations: 309.6 kB / 429.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.02451, allocations: 33.7 kB / 429.8 MB, free: 6.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.02467, allocations: 407.8 kB / 430.2 MB, free: 6.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.02478, allocations: 242 kB / 430.4 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.0249, allocations: 138.6 kB / 430.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000364/0.02527, allocations: 350.8 kB / 430.9 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.02548, allocations: 201.9 kB / 431.1 MB, free: 5.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.02578, allocations: 404.6 kB / 431.5 MB, free: 5.125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/0.02631, allocations: 0.6236 MB / 432.1 MB, free: 4.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.02632, allocations: 4 kB / 432.1 MB, free: 4.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008612/0.02718, allocations: 0.875 MB / 433 MB, free: 3.523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.02719, allocations: 8 kB / 433 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.0272, allocations: 7.984 kB / 433 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.02759, allocations: 235.5 kB / 433.3 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.02783, allocations: 135.8 kB / 433.4 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.03143, allocations: 6.161 MB / 439.6 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.03163, allocations: 83.39 kB / 439.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.03166, allocations: 32 kB / 439.7 MB, free: 12.45 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 (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.0001777/0.03184, allocations: 225.7 kB / 439.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.0319, allocations: 43.72 kB / 439.9 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.03261, allocations: 0.6735 MB / 440.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.03261, allocations: 11.94 kB / 440.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.03262, allocations: 4 kB / 440.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.03262, allocations: 3.984 kB / 440.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.03393, allocations: 1.352 MB / 442 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.03393, allocations: 4 kB / 442 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.03405, allocations: 67.91 kB / 442 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.03434, allocations: 211.2 kB / 442.3 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.03436, allocations: 16.17 kB / 442.3 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.03767, allocations: 6.146 MB / 448.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.03767, allocations: 4.031 kB / 448.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.03861, allocations: 1.182 MB / 449.6 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.03865, allocations: 43.62 kB / 449.6 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.03868, allocations: 16 kB / 449.7 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.03884, allocations: 12 kB / 449.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.0389, allocations: 63.77 kB / 449.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.03892, allocations: 19.98 kB / 449.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.03904, allocations: 197.2 kB / 449.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03904, allocations: 0 / 449.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006155/0.03965, allocations: 283.3 kB / 450.2 MB, free: 1.359 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 (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.0002158/0.03987, allocations: 143.1 kB / 450.4 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009144/0.04078, allocations: 1.041 MB / 451.4 MB, free: 120 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.04079, allocations: 0 / 451.4 MB, free: 120 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1409/0.1816, allocations: 0.741 MB / 452.1 MB, free: 52.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.1821, allocations: 39.39 kB / 452.2 MB, free: 52.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1837, allocations: 1.223 MB / 453.4 MB, free: 51.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.184, allocations: 320.9 kB / 453.7 MB, free: 51.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.1841, allocations: 40.3 kB / 453.8 MB, free: 51.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1841, allocations: 0.9375 kB / 453.8 MB, free: 51.42 MB / 378.7 MB Notification: Performance of Templates: time 0.01363/0.1977, allocations: 19.72 MB / 473.5 MB, free: 43.68 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.753417970612645]