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.001388/0.001388, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001698/0.001698, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9678/0.9678, allocations: 177 MB / 204.8 MB, free: 5.594 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.241/0.241, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.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.593e-06/1.593e-06, allocations: 0 / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.214e-05, allocations: 2.312 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.01193/0.01195, allocations: 5.277 MB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.0155, allocations: 1.615 MB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.01571, allocations: 20 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.01743, allocations: 1.696 MB / 387.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.01788, allocations: 321.4 kB / 387.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.01853, allocations: 0.514 MB / 388.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.01907, allocations: 0.8315 MB / 389 MB, free: 7.785 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006811/0.01975, allocations: 0.6351 MB / 389.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.02017, allocations: 0.5068 MB / 390.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.02051, allocations: 359 kB / 390.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-05/0.02058, allocations: 76 kB / 390.6 MB, free: 6.203 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.02084, allocations: 191.7 kB / 390.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.922e-05/0.02093, allocations: 179.3 kB / 391 MB, free: 5.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.02112, allocations: 291.3 kB / 391.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009238/0.02204, allocations: 0.755 MB / 392 MB, free: 4.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.02204, allocations: 0 / 392 MB, free: 4.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02204, allocations: 0 / 392 MB, free: 4.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.02205, allocations: 4 kB / 392 MB, free: 4.793 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.001881/0.02393, allocations: 1.42 MB / 393.4 MB, free: 3.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.02397, allocations: 8.031 kB / 393.4 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009546/0.02493, allocations: 399.8 kB / 393.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.02508, allocations: 204.1 kB / 394 MB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.02513, allocations: 74.38 kB / 394.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.02524, allocations: 100.3 kB / 394.2 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008404/0.02608, allocations: 0.7569 MB / 394.9 MB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.02611, allocations: 11.88 kB / 395 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.02617, allocations: 40 kB / 395 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.02619, allocations: 24 kB / 395 MB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.02678, allocations: 415.6 kB / 395.4 MB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.02953, allocations: 2.874 MB / 398.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.03072, allocations: 0.7884 MB / 399.1 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.03093, allocations: 208.6 kB / 399.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.938e-05/0.03099, allocations: 32.3 kB / 399.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.03101, allocations: 49.58 kB / 399.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 1.754e-06/0.03102, allocations: 0 / 399.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001328/0.03234, allocations: 0.8733 MB / 400.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.03239, allocations: 140.5 kB / 400.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.03261, allocations: 344 kB / 400.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.03263, allocations: 37.7 kB / 400.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.0328, allocations: 462.5 kB / 401.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.03291, allocations: 238 kB / 401.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.03305, allocations: 160.2 kB / 401.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.03318, allocations: 0.5274 MB / 402.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.03334, allocations: 121.9 kB / 402.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.03363, allocations: 404.3 kB / 402.6 MB, free: 9.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.03411, allocations: 0.5586 MB / 403.2 MB, free: 8.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.03411, allocations: 3.938 kB / 403.2 MB, free: 8.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008022/0.03492, allocations: 0.7496 MB / 404 MB, free: 8.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.03493, allocations: 8.031 kB / 404 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.03494, allocations: 11.98 kB / 404 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.03555, allocations: 258.5 kB / 404.2 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.0358, allocations: 143.7 kB / 404.4 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.03932, allocations: 7.772 MB / 412.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.03953, allocations: 83.41 kB / 412.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.03956, allocations: 32 kB / 412.2 MB, free: 15.41 MB / 394.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.0001432/0.0397, allocations: 212.3 kB / 412.5 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.03979, allocations: 59.77 kB / 412.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/0.04043, allocations: 0.5614 MB / 413.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.04043, allocations: 11.94 kB / 413.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.04044, allocations: 4 kB / 413.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.04044, allocations: 3.984 kB / 413.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.04198, allocations: 1.335 MB / 414.4 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.04198, allocations: 0 / 414.4 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.04212, allocations: 67.91 kB / 414.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005388/0.04266, allocations: 254.8 kB / 414.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.04268, allocations: 15.98 kB / 414.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.04608, allocations: 7.76 MB / 422.5 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.04608, allocations: 4 kB / 422.5 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.04694, allocations: 1.151 MB / 423.7 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.04698, allocations: 51.56 kB / 423.7 MB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.04701, allocations: 12 kB / 423.7 MB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.04717, allocations: 12 kB / 423.7 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.04724, allocations: 63.81 kB / 423.8 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.04725, allocations: 16 kB / 423.8 MB, free: 3.184 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.04737, allocations: 221 kB / 424 MB, free: 2.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04737, allocations: 4 kB / 424 MB, free: 2.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005605/0.04793, allocations: 275.3 kB / 424.3 MB, free: 2.695 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.0001852/0.04812, allocations: 139.2 kB / 424.5 MB, free: 2.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000867/0.04899, allocations: 1.184 MB / 425.6 MB, free: 1.293 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.04899, allocations: 4.375 kB / 425.6 MB, free: 1.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.04948, allocations: 0.9561 MB / 426.6 MB, free: 264 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.04988, allocations: 60.25 kB / 426.7 MB, free: 204 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.05155, allocations: 1.143 MB / 427.8 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.05165, allocations: 147.5 kB / 427.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.05178, allocations: 64.42 kB / 428 MB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.05184, allocations: 40.5 kB / 428 MB, free: 14.73 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.05184, allocations: 0 / 428 MB, free: 14.73 MB / 410.7 MB Notification: Performance of Templates: time 0.009306/0.06115, allocations: 6.888 MB / 434.9 MB, free: 7.918 MB / 410.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.4993814192712307]