Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009967/0.0009967, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001074/0.001074, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9831/0.9831, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 32.81 MB / 294.3 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.922e-05, allocations: 2.312 kB / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004459/0.004479, allocations: 5.278 MB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.006502, allocations: 1.607 MB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.006717, allocations: 20 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.008481, allocations: 1.696 MB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.008979, allocations: 329.4 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.00965, allocations: 0.5101 MB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006096/0.01026, allocations: 0.8315 MB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007197/0.01098, allocations: 0.639 MB / 386.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.01142, allocations: 0.5028 MB / 387.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.01175, allocations: 355 kB / 387.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.01183, allocations: 76 kB / 387.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.0121, allocations: 195.7 kB / 388 MB, free: 8.617 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.01219, allocations: 183.3 kB / 388.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.0124, allocations: 295.3 kB / 388.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.01306, allocations: 0.7512 MB / 389.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01306, allocations: 0 / 389.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01306, allocations: 0 / 389.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.01307, allocations: 0 / 389.2 MB, free: 7.395 MB / 362.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.001884/0.01495, allocations: 1.424 MB / 390.7 MB, free: 5.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.01499, allocations: 15.97 kB / 390.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.01596, allocations: 391.8 kB / 391.1 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.01612, allocations: 204.1 kB / 391.3 MB, free: 5.305 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.01616, allocations: 70.38 kB / 391.3 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.01627, allocations: 108.3 kB / 391.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/0.01713, allocations: 0.753 MB / 392.2 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.01716, allocations: 7.938 kB / 392.2 MB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.01721, allocations: 40 kB / 392.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.01723, allocations: 32 kB / 392.3 MB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.01782, allocations: 423.6 kB / 392.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.02055, allocations: 2.862 MB / 395.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009389/0.02149, allocations: 0.7956 MB / 396.3 MB, free: 32 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.02171, allocations: 204.8 kB / 396.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.229e-05/0.02178, allocations: 32.31 kB / 396.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.0218, allocations: 49.58 kB / 396.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 1.924e-06/0.02181, allocations: 0 / 396.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001378/0.02318, allocations: 0.8794 MB / 397.5 MB, free: 14.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.02323, allocations: 136.5 kB / 397.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.02345, allocations: 348 kB / 398 MB, free: 14.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.02348, allocations: 41.77 kB / 398 MB, free: 14.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.02364, allocations: 462.5 kB / 398.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.02376, allocations: 238 kB / 398.7 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.02391, allocations: 164.2 kB / 398.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.02404, allocations: 0.5235 MB / 399.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.02421, allocations: 113.9 kB / 399.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.02449, allocations: 406.1 kB / 399.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.02499, allocations: 0.5547 MB / 400.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.02499, allocations: 0 / 400.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008299/0.02582, allocations: 0.765 MB / 401.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.02584, allocations: 4 kB / 401.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.02584, allocations: 8 kB / 401.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006341/0.02648, allocations: 254.7 kB / 401.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.02673, allocations: 143.8 kB / 401.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/0.03089, allocations: 7.779 MB / 409.4 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.0313, allocations: 83.39 kB / 409.5 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.03133, allocations: 40.06 kB / 409.5 MB, free: 1.984 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.0002119/0.03154, allocations: 204.3 kB / 409.7 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.03165, allocations: 59.77 kB / 409.8 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.03236, allocations: 0.5614 MB / 410.3 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.03236, allocations: 11.94 kB / 410.3 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.03237, allocations: 4 kB / 410.3 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.03238, allocations: 3.984 kB / 410.3 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.03381, allocations: 1.334 MB / 411.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.03382, allocations: 0 / 411.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.03397, allocations: 71.91 kB / 411.8 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005567/0.03452, allocations: 246.5 kB / 412 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.03455, allocations: 12 kB / 412 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/0.03798, allocations: 7.764 MB / 419.8 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.03798, allocations: 4 kB / 419.8 MB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/0.03885, allocations: 1.151 MB / 420.9 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.03891, allocations: 51.56 kB / 421 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.03893, allocations: 12 kB / 421 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.03913, allocations: 15.94 kB / 421 MB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.03921, allocations: 59.83 kB / 421.1 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.03923, allocations: 16.06 kB / 421.1 MB, free: 5.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.03935, allocations: 221 kB / 421.3 MB, free: 5.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03935, allocations: 4.031 kB / 421.3 MB, free: 5.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007194/0.04007, allocations: 283.3 kB / 421.6 MB, free: 5.281 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 (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.0002181/0.04029, allocations: 143.1 kB / 421.7 MB, free: 5.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009964/0.04129, allocations: 1.184 MB / 422.9 MB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.04129, allocations: 4 kB / 422.9 MB, free: 3.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005131/0.0418, allocations: 0.9455 MB / 423.8 MB, free: 2.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.04222, allocations: 63.88 kB / 423.9 MB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.04382, allocations: 1.139 MB / 425 MB, free: 1.598 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.04395, allocations: 151.5 kB / 425.2 MB, free: 1.426 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.04409, allocations: 68.42 kB / 425.3 MB, free: 1.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.04415, allocations: 40.48 kB / 425.3 MB, free: 1.32 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.04415, allocations: 0 / 425.3 MB, free: 1.32 MB / 394.7 MB Notification: Performance of Templates: time 0.00962/0.05377, allocations: 6.887 MB / 432.2 MB, free: 10.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.515355745796114]