Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001526/0.001526, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001799/0.001799, allocations: 168.6 kB / 25 MB, free: 8.863 MB / 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 1.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2564/0.2564, allocations: 34.26 MB / 296 MB, free: 0.7852 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.85e-05, allocations: 2.312 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005233/0.005251, allocations: 5.247 MB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.007627, allocations: 1.611 MB / 384.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.00798, allocations: 24 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.00973, allocations: 1.684 MB / 386.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006599/0.01039, allocations: 325.3 kB / 386.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007894/0.01118, allocations: 0.5063 MB / 387.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007764/0.01196, allocations: 0.8393 MB / 388.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.01274, allocations: 0.6312 MB / 388.9 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.01326, allocations: 0.5105 MB / 389.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006385/0.0139, allocations: 351.1 kB / 389.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.34e-05/0.01397, allocations: 79.94 kB / 389.8 MB, free: 7.133 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.01433, allocations: 187.8 kB / 390 MB, free: 6.949 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.01442, allocations: 183.3 kB / 390.2 MB, free: 6.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.01472, allocations: 291.3 kB / 390.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007723/0.0155, allocations: 0.7511 MB / 391.2 MB, free: 5.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.0155, allocations: 4 kB / 391.2 MB, free: 5.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0155, allocations: 0 / 391.2 MB, free: 5.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.01551, allocations: 4 kB / 391.2 MB, free: 5.723 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.002016/0.01753, allocations: 1.42 MB / 392.6 MB, free: 4.262 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.01757, allocations: 16.02 kB / 392.6 MB, free: 4.246 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.01868, allocations: 387.8 kB / 393 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.01885, allocations: 204.1 kB / 393.2 MB, free: 3.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.0189, allocations: 78.31 kB / 393.3 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/0.01899, allocations: 100.3 kB / 393.4 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.01986, allocations: 0.7569 MB / 394.2 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.01989, allocations: 3.938 kB / 394.2 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/0.01994, allocations: 40 kB / 394.2 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.01996, allocations: 24 kB / 394.2 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.02056, allocations: 422.6 kB / 394.6 MB, free: 2.207 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.02348, allocations: 2.878 MB / 397.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/0.02444, allocations: 0.7882 MB / 398.3 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.02466, allocations: 212.8 kB / 398.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/0.02472, allocations: 28.3 kB / 398.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.02475, allocations: 57.52 kB / 398.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 1.813e-06/0.02475, allocations: 0 / 398.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001429/0.02618, allocations: 0.8679 MB / 399.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.02624, allocations: 136.5 kB / 399.6 MB, free: 13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.0265, allocations: 352 kB / 399.9 MB, free: 12.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.02652, allocations: 33.7 kB / 400 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.0267, allocations: 462.5 kB / 400.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.02682, allocations: 242 kB / 400.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.02696, allocations: 160.2 kB / 400.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.02709, allocations: 0.5235 MB / 401.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.02726, allocations: 117.9 kB / 401.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.02757, allocations: 410.1 kB / 401.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.02809, allocations: 0.5546 MB / 402.4 MB, free: 9.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.0281, allocations: 4 kB / 402.4 MB, free: 9.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008859/0.02898, allocations: 0.7495 MB / 403.2 MB, free: 9.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.02901, allocations: 8 kB / 403.2 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.02902, allocations: 4 kB / 403.2 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008115/0.02983, allocations: 270.5 kB / 403.4 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.03009, allocations: 135.8 kB / 403.6 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.03416, allocations: 7.768 MB / 411.3 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.03449, allocations: 83.39 kB / 411.4 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.03453, allocations: 32 kB / 411.4 MB, free: 348 kB / 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.0002557/0.03478, allocations: 208.4 kB / 411.6 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.03488, allocations: 59.77 kB / 411.7 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/0.0357, allocations: 0.5614 MB / 412.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.0357, allocations: 15.94 kB / 412.3 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.03571, allocations: 12 kB / 412.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.03572, allocations: 4 kB / 412.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.03717, allocations: 1.337 MB / 413.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03717, allocations: 0 / 413.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.03731, allocations: 67.91 kB / 413.7 MB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005643/0.03788, allocations: 254.5 kB / 414 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.0379, allocations: 12 kB / 414 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.04162, allocations: 7.761 MB / 421.7 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.04162, allocations: 0 / 421.7 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.04258, allocations: 1.158 MB / 422.9 MB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.04265, allocations: 51.56 kB / 422.9 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.04268, allocations: 12 kB / 422.9 MB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.04285, allocations: 16 kB / 423 MB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.04294, allocations: 63.77 kB / 423 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.04296, allocations: 16 kB / 423 MB, free: 4.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.04309, allocations: 217 kB / 423.3 MB, free: 3.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04309, allocations: 0 / 423.3 MB, free: 3.895 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007585/0.04385, allocations: 283.3 kB / 423.5 MB, free: 3.617 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.0002192/0.04407, allocations: 143.2 kB / 423.7 MB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009855/0.04506, allocations: 1.177 MB / 424.8 MB, free: 2.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.04506, allocations: 0 / 424.8 MB, free: 2.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.04581, allocations: 0.9565 MB / 425.8 MB, free: 1.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.04621, allocations: 55.78 kB / 425.9 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.04773, allocations: 1.149 MB / 427 MB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.04784, allocations: 151.5 kB / 427.2 MB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.04798, allocations: 68.42 kB / 427.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.04804, allocations: 36.48 kB / 427.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04804, allocations: 0 / 427.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of Templates: time 0.009816/0.05785, allocations: 6.89 MB / 434.1 MB, free: 8.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6446364731527865]