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.001291/0.001291, allocations: 84.25 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009939/0.0009939, allocations: 166.7 kB / 25.61 MB, free: 8.445 MB / 18.57 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 0.9067/0.9067, allocations: 177 MB / 205.9 MB, free: 4.414 MB / 186.7 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.1537/0.1537, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.7 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 1.322e-06/1.322e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.511e-05, allocations: 4 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004161/0.004186, allocations: 5.121 MB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.006873, allocations: 1.615 MB / 386.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.007398, allocations: 16 kB / 386.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.00931, allocations: 1.645 MB / 388.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008347/0.01015, allocations: 325.3 kB / 388.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.01087, allocations: 0.5023 MB / 389.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.01137, allocations: 0.8355 MB / 390.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006329/0.01201, allocations: 0.6234 MB / 390.7 MB, free: 12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004206/0.01243, allocations: 0.5145 MB / 391.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.01273, allocations: 355 kB / 391.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.193e-05/0.01279, allocations: 72 kB / 391.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.01318, allocations: 191.7 kB / 391.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.01326, allocations: 187.3 kB / 392 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.01339, allocations: 279.3 kB / 392.3 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.01397, allocations: 0.7589 MB / 393 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01398, allocations: 4 kB / 393 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01398, allocations: 0 / 393 MB, free: 9.656 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.01399, allocations: 0 / 393 MB, free: 9.656 MB / 314.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.001652/0.01564, allocations: 1.427 MB / 394.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.039e-05/0.01566, allocations: 12.03 kB / 394.5 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008753/0.01654, allocations: 403.7 kB / 394.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.01665, allocations: 200.1 kB / 395 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.01668, allocations: 74.38 kB / 395.1 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.683e-05/0.01677, allocations: 96.38 kB / 395.2 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.01731, allocations: 0.6943 MB / 395.9 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.01733, allocations: 15.88 kB / 395.9 MB, free: 6.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.01738, allocations: 40 kB / 396 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.01739, allocations: 24 kB / 396 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.01772, allocations: 329.6 kB / 396.3 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.01997, allocations: 2.788 MB / 399.1 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.02073, allocations: 0.7585 MB / 399.9 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.02086, allocations: 181.4 kB / 400 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.02091, allocations: 28.31 kB / 400.1 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.02094, allocations: 49.66 kB / 400.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.804e-06/0.02094, allocations: 0 / 400.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001113/0.02205, allocations: 0.8017 MB / 400.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.02208, allocations: 136.5 kB / 401 MB, free: 1.301 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.02225, allocations: 347.8 kB / 401.4 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.02227, allocations: 37.7 kB / 401.4 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.0224, allocations: 470.5 kB / 401.9 MB, free: 444 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/0.02249, allocations: 241.9 kB / 402.1 MB, free: 200 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.02261, allocations: 168.1 kB / 402.3 MB, free: 24 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.02281, allocations: 0.5313 MB / 402.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.02292, allocations: 97.75 kB / 402.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.02318, allocations: 374.1 kB / 403.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.0236, allocations: 0.5121 MB / 403.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.0236, allocations: 0 / 403.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0007135/0.02432, allocations: 0.6831 MB / 404.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.02434, allocations: 11.94 kB / 404.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.02435, allocations: 8 kB / 404.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.02494, allocations: 250.6 kB / 404.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.02519, allocations: 139.8 kB / 404.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/0.02905, allocations: 7.618 MB / 412.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.02944, allocations: 91.33 kB / 412.6 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.02947, allocations: 24 kB / 412.6 MB, free: 4.977 MB / 330.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,4,100.0%), (1,4,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006168/0.03009, allocations: 208.4 kB / 412.8 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.03021, allocations: 59.77 kB / 412.9 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.03082, allocations: 0.5183 MB / 413.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.03083, allocations: 12 kB / 413.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.03084, allocations: 4 kB / 413.4 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.03084, allocations: 0 / 413.4 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.03221, allocations: 1.202 MB / 414.6 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.03222, allocations: 0 / 414.6 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.03237, allocations: 79.84 kB / 414.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/0.03291, allocations: 238.6 kB / 414.9 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.03294, allocations: 12 kB / 414.9 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003767/0.0367, allocations: 7.618 MB / 422.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.03671, allocations: 4 kB / 422.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009185/0.03762, allocations: 1.08 MB / 423.6 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.03771, allocations: 51.52 kB / 423.7 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.03774, allocations: 19.98 kB / 423.7 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.03793, allocations: 12 kB / 423.7 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.03805, allocations: 63.77 kB / 423.8 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.03807, allocations: 24 kB / 423.8 MB, free: 9.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.03823, allocations: 201.1 kB / 424 MB, free: 8.996 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03823, allocations: 3.938 kB / 424 MB, free: 8.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009888/0.03922, allocations: 279.4 kB / 424.3 MB, free: 8.719 MB / 346.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.0002613/0.03949, allocations: 143.1 kB / 424.4 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.04051, allocations: 1.137 MB / 425.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.04052, allocations: 0 / 425.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.04107, allocations: 0.9338 MB / 426.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.04148, allocations: 50.22 kB / 426.5 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.04302, allocations: 1.131 MB / 427.7 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.04315, allocations: 151.5 kB / 427.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.0433, allocations: 68.38 kB / 427.9 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.04342, allocations: 130.2 kB / 428 MB, free: 4.75 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04342, allocations: 0 / 428 MB, free: 4.75 MB / 346.7 MB Notification: Performance of Templates: time 0.01132/0.05473, allocations: 7.578 MB / 435.6 MB, free: 13.28 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.4142459267750382]