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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.93 MB / 361.5 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] 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=1000,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=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 75.88 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2879, allocations: 66.08 MB / 0.562 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007299/0.2952, allocations: 5.366 MB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.2985, allocations: 1.678 MB / 0.5688 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.2991, allocations: 20 kB / 0.5689 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.3027, allocations: 1.606 MB / 0.5704 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.3039, allocations: 313.6 kB / 0.5707 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3053, allocations: 0.5141 MB / 0.5712 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.3067, allocations: 0.8008 MB / 0.572 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.3078, allocations: 0.6416 MB / 0.5726 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006001/0.3084, allocations: 354.7 kB / 0.573 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.3091, allocations: 466.2 kB / 0.5734 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.3093, allocations: 76 kB / 0.5735 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.3098, allocations: 195.9 kB / 0.5737 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.31, allocations: 175.3 kB / 0.5738 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000503/0.3105, allocations: 425.9 kB / 0.5742 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.312, allocations: 1.175 MB / 0.5754 GB, free: 6.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.312, allocations: 3.938 kB / 0.5754 GB, free: 6.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.312, allocations: 0 / 0.5754 GB, free: 6.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.208e-05/0.312, allocations: 7.984 kB / 0.5754 GB, free: 6.387 MB / 414.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.00348/0.3155, allocations: 1.297 MB / 0.5767 GB, free: 5.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3156, allocations: 8.031 kB / 0.5767 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.3171, allocations: 236.2 kB / 0.5769 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.3174, allocations: 209.4 kB / 0.5771 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.3174, allocations: 74.38 kB / 0.5772 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.3176, allocations: 100.1 kB / 0.5773 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.3192, allocations: 0.936 MB / 0.5782 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.3193, allocations: 11.94 kB / 0.5782 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.3193, allocations: 44 kB / 0.5782 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.3194, allocations: 24 kB / 0.5783 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.3207, allocations: 0.7206 MB / 0.579 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005262/0.3259, allocations: 3.684 MB / 0.5826 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.3275, allocations: 0.7776 MB / 0.5833 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.3279, allocations: 264.6 kB / 0.5836 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.176e-05/0.328, allocations: 28.28 kB / 0.5836 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.328, allocations: 46.89 kB / 0.5836 GB, free: 13.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.124e-06/0.328, allocations: 4 kB / 0.5836 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002526/0.3306, allocations: 1.008 MB / 0.5846 GB, free: 12.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.3306, allocations: 140.5 kB / 0.5848 GB, free: 12.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.331, allocations: 320 kB / 0.5851 GB, free: 12.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.3311, allocations: 41.7 kB / 0.5851 GB, free: 11.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.3314, allocations: 411.8 kB / 0.5855 GB, free: 11.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.3316, allocations: 234 kB / 0.5857 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3318, allocations: 154.6 kB / 0.5859 GB, free: 11.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3319, allocations: 350.8 kB / 0.5862 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.3323, allocations: 201.9 kB / 0.5864 GB, free: 10.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.3328, allocations: 401.9 kB / 0.5868 GB, free: 10.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009198/0.3337, allocations: 0.6259 MB / 0.5874 GB, free: 9.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.3337, allocations: 4 kB / 0.5874 GB, free: 9.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001508/0.3352, allocations: 0.8698 MB / 0.5883 GB, free: 8.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3353, allocations: 8 kB / 0.5883 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3353, allocations: 8 kB / 0.5883 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/0.3359, allocations: 231.4 kB / 0.5885 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.3364, allocations: 143.7 kB / 0.5886 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00595/0.3423, allocations: 6.289 MB / 0.5948 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.3428, allocations: 87.39 kB / 0.5948 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.3429, allocations: 31.94 kB / 0.5949 GB, free: 1.305 MB / 430.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.0003078/0.3432, allocations: 221.6 kB / 0.5951 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.3433, allocations: 47.78 kB / 0.5951 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.3446, allocations: 0.6951 MB / 0.5958 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.3446, allocations: 8 kB / 0.5958 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.3446, allocations: 4 kB / 0.5958 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3446, allocations: 7.984 kB / 0.5958 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.3471, allocations: 1.526 MB / 0.5973 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3471, allocations: 4 kB / 0.5973 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.3474, allocations: 67.91 kB / 0.5974 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/0.3479, allocations: 211.2 kB / 0.5976 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.3479, allocations: 20.17 kB / 0.5976 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005912/0.3538, allocations: 6.308 MB / 0.6038 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3538, allocations: 4.062 kB / 0.6038 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.3555, allocations: 1.191 MB / 0.6049 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3556, allocations: 51.66 kB / 0.605 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.3556, allocations: 12 kB / 0.605 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.356, allocations: 12 kB / 0.605 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.356, allocations: 67.77 kB / 0.6051 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3561, allocations: 20 kB / 0.6051 GB, free: 6.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.3563, allocations: 215.1 kB / 0.6053 GB, free: 6.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3563, allocations: 0 / 0.6053 GB, free: 6.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009124/0.3572, allocations: 275.3 kB / 0.6056 GB, free: 5.77 MB / 446.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.0002544/0.3575, allocations: 143.1 kB / 0.6057 GB, free: 5.617 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.359, allocations: 1.052 MB / 0.6067 GB, free: 4.512 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.359, allocations: 5.125 kB / 0.6067 GB, free: 4.508 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008898/0.3599, allocations: 0.7483 MB / 0.6075 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.3605, allocations: 44.64 kB / 0.6075 GB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.3627, allocations: 1.275 MB / 0.6088 GB, free: 2.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.3633, allocations: 0.9111 MB / 0.6096 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3634, allocations: 51.42 kB / 0.6097 GB, free: 1.355 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3634, allocations: 0 / 0.6097 GB, free: 1.355 MB / 446.1 MB Notification: Performance of Templates: time 0.02295/0.3863, allocations: 19.72 MB / 0.6289 GB, free: 13.61 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.095390114933252]