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.001942/0.001942, allocations: 84.34 kB / 20.95 MB, free: 3.457 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.002261/0.002261, allocations: 169.3 kB / 24.27 MB, free: 148 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 1.64/1.64, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3548/0.3548, allocations: 34.27 MB / 295.3 MB, free: 0.6953 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.403e-06/1.403e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.391e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007174/0.007197, allocations: 4.768 MB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.0103, allocations: 1.584 MB / 383.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.01055, allocations: 20 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.01438, allocations: 1.559 MB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009214/0.0153, allocations: 321.4 kB / 385.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.01655, allocations: 0.5062 MB / 386 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.0177, allocations: 0.8316 MB / 386.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.01883, allocations: 0.6312 MB / 387.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007667/0.0196, allocations: 0.4989 MB / 388 MB, free: 8.199 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005579/0.02016, allocations: 351 kB / 388.3 MB, free: 7.855 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.02027, allocations: 72 kB / 388.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.02075, allocations: 195.7 kB / 388.6 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.02093, allocations: 175.3 kB / 388.8 MB, free: 7.422 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.02128, allocations: 287.3 kB / 389 MB, free: 7.141 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.02284, allocations: 1.191 MB / 390.2 MB, free: 5.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.02284, allocations: 0 / 390.2 MB, free: 5.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02284, allocations: 4 kB / 390.2 MB, free: 5.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.02285, allocations: 0 / 390.2 MB, free: 5.941 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.003659/0.02651, allocations: 1.289 MB / 391.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.02656, allocations: 8.031 kB / 391.5 MB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.02845, allocations: 391.8 kB / 391.9 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.02873, allocations: 201.2 kB / 392.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/0.02882, allocations: 74.38 kB / 392.2 MB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.02898, allocations: 104.3 kB / 392.3 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.03077, allocations: 0.9364 MB / 393.2 MB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.03081, allocations: 11.94 kB / 393.2 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.03091, allocations: 36 kB / 393.3 MB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.03094, allocations: 24 kB / 393.3 MB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.0324, allocations: 0.7222 MB / 394 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005284/0.03769, allocations: 2.761 MB / 396.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.03945, allocations: 0.7811 MB / 397.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.03992, allocations: 264.7 kB / 397.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.04002, allocations: 28.92 kB / 397.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.04008, allocations: 50.83 kB / 397.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.845e-06/0.04008, allocations: 0 / 397.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002898/0.04298, allocations: 1.041 MB / 398.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.04309, allocations: 140.5 kB / 399.1 MB, free: 12.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.04351, allocations: 301.5 kB / 399.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.04357, allocations: 33.7 kB / 399.4 MB, free: 12.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.04391, allocations: 411.9 kB / 399.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.04415, allocations: 245.9 kB / 400 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.04438, allocations: 146.6 kB / 400.2 MB, free: 11.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.04462, allocations: 358.8 kB / 400.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.04501, allocations: 193.9 kB / 400.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.04562, allocations: 400.6 kB / 401.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.04666, allocations: 0.6273 MB / 401.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.04666, allocations: 0 / 401.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001793/0.04846, allocations: 0.9103 MB / 402.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.04848, allocations: 8 kB / 402.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.0485, allocations: 8 kB / 402.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.0499, allocations: 271.4 kB / 402.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.05041, allocations: 147.7 kB / 403.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.05755, allocations: 6.186 MB / 409.3 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.05806, allocations: 83.36 kB / 409.3 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.05813, allocations: 32 kB / 409.4 MB, free: 1.871 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.00039/0.05852, allocations: 233.7 kB / 409.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.05869, allocations: 59.77 kB / 409.7 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.06015, allocations: 0.6831 MB / 410.3 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.06016, allocations: 11.94 kB / 410.4 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.06017, allocations: 8 kB / 410.4 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.06018, allocations: 3.984 kB / 410.4 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.06282, allocations: 1.346 MB / 411.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.06282, allocations: 0 / 411.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.0631, allocations: 71.91 kB / 411.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.06438, allocations: 271.1 kB / 412.1 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.06442, allocations: 15.98 kB / 412.1 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006872/0.07129, allocations: 6.175 MB / 418.2 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.0713, allocations: 4.031 kB / 418.2 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.07321, allocations: 1.206 MB / 419.5 MB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.07333, allocations: 55.61 kB / 419.5 MB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.07338, allocations: 12 kB / 419.5 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.07373, allocations: 16.06 kB / 419.5 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.07384, allocations: 59.83 kB / 419.6 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.07388, allocations: 19.98 kB / 419.6 MB, free: 7.102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002514/0.07413, allocations: 197.1 kB / 419.8 MB, free: 6.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07413, allocations: 4 kB / 419.8 MB, free: 6.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001047/0.07518, allocations: 275.3 kB / 420.1 MB, free: 6.637 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.0002968/0.07547, allocations: 147.1 kB / 420.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.07725, allocations: 1.053 MB / 421.3 MB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.07725, allocations: 8.188 kB / 421.3 MB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.0783, allocations: 0.7479 MB / 422 MB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.07897, allocations: 47.48 kB / 422.1 MB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.08122, allocations: 1.202 MB / 423.3 MB, free: 3.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.08162, allocations: 318.5 kB / 423.6 MB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.08186, allocations: 60.44 kB / 423.7 MB, free: 2.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.08196, allocations: 44.48 kB / 423.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.08196, allocations: 0 / 423.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of Templates: time 0.01558/0.09754, allocations: 6.826 MB / 430.5 MB, free: 12.08 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.565978697966784]