Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001299/0.001299, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001428/0.001428, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 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 1.478/1.478, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2315/0.2315, allocations: 46.9 MB / 361.1 MB, free: 4.656 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 75.88 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3414, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007712/0.3491, allocations: 5.369 MB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.353, allocations: 1.67 MB / 0.5681 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006522/0.3536, allocations: 16 kB / 0.5681 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004068/0.3577, allocations: 1.606 MB / 0.5697 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.3592, allocations: 313.6 kB / 0.5699 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.3607, allocations: 0.5291 MB / 0.5705 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.3619, allocations: 0.8007 MB / 0.5712 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009974/0.3629, allocations: 0.5559 MB / 0.5718 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004986/0.3634, allocations: 350.7 kB / 0.5721 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007449/0.3642, allocations: 466.2 kB / 0.5726 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3643, allocations: 72 kB / 0.5726 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.3648, allocations: 199.9 kB / 0.5728 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.365, allocations: 171.4 kB / 0.573 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004554/0.3655, allocations: 433.9 kB / 0.5734 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.367, allocations: 1.171 MB / 0.5746 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.367, allocations: 0 / 0.5746 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.367, allocations: 0 / 0.5746 GB, free: 7.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.367, allocations: 0 / 0.5746 GB, free: 7.293 MB / 414.1 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.003551/0.3705, allocations: 1.38 MB / 0.5759 GB, free: 5.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3706, allocations: 12.03 kB / 0.5759 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.3722, allocations: 236.2 kB / 0.5761 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.3725, allocations: 263.2 kB / 0.5764 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.3726, allocations: 70.38 kB / 0.5765 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.3727, allocations: 108.1 kB / 0.5766 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.3744, allocations: 0.9321 MB / 0.5775 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/0.3744, allocations: 11.89 kB / 0.5775 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.3745, allocations: 40 kB / 0.5775 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.3745, allocations: 28 kB / 0.5775 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.3759, allocations: 0.7283 MB / 0.5783 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.3816, allocations: 4.084 MB / 0.5822 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.3846, allocations: 3.311 MB / 0.5855 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.385, allocations: 267.3 kB / 0.5857 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.3852, allocations: 182.5 kB / 0.5859 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.3853, allocations: 42.89 kB / 0.5859 GB, free: 10.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.116e-06/0.3853, allocations: 0 / 0.5859 GB, free: 10.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002896/0.3882, allocations: 1.329 MB / 0.5872 GB, free: 9.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/0.3883, allocations: 136.5 kB / 0.5874 GB, free: 8.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.3887, allocations: 318.8 kB / 0.5877 GB, free: 8.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.3887, allocations: 37.7 kB / 0.5877 GB, free: 8.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.389, allocations: 411.8 kB / 0.5881 GB, free: 8.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.3892, allocations: 245.9 kB / 0.5883 GB, free: 7.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.3894, allocations: 150.6 kB / 0.5885 GB, free: 7.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3896, allocations: 346.8 kB / 0.5888 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.3899, allocations: 201.9 kB / 0.589 GB, free: 7.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.3904, allocations: 404.6 kB / 0.5894 GB, free: 6.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000923/0.3914, allocations: 0.6297 MB / 0.59 GB, free: 5.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3914, allocations: 0 / 0.59 GB, free: 5.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001571/0.3929, allocations: 0.8815 MB / 0.5909 GB, free: 5.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.393, allocations: 11.98 kB / 0.5909 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.393, allocations: 4 kB / 0.5909 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/0.3936, allocations: 219.4 kB / 0.5911 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.3941, allocations: 143.7 kB / 0.5912 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006371/0.4005, allocations: 6.715 MB / 0.5978 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.401, allocations: 83.3 kB / 0.5979 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.4011, allocations: 39.98 kB / 0.5979 GB, free: 13.27 MB / 446.1 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.0003395/0.4014, allocations: 217.7 kB / 0.5981 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.4016, allocations: 39.77 kB / 0.5982 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.4029, allocations: 0.6812 MB / 0.5988 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4029, allocations: 8 kB / 0.5988 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.4029, allocations: 8 kB / 0.5988 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.4029, allocations: 7.969 kB / 0.5988 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.4055, allocations: 1.562 MB / 0.6004 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.4055, allocations: 11.98 kB / 0.6004 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.4058, allocations: 67.91 kB / 0.6004 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.4063, allocations: 207.2 kB / 0.6006 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.4064, allocations: 19.98 kB / 0.6007 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006302/0.4127, allocations: 6.694 MB / 0.6072 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4127, allocations: 0 / 0.6072 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.4145, allocations: 1.191 MB / 0.6084 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.4147, allocations: 132.7 kB / 0.6085 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.4147, allocations: 12 kB / 0.6085 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.4151, allocations: 19.94 kB / 0.6085 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4152, allocations: 59.8 kB / 0.6086 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.4152, allocations: 20.05 kB / 0.6086 GB, free: 1.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002847/0.4155, allocations: 214 kB / 0.6088 GB, free: 1.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4155, allocations: 3.938 kB / 0.6088 GB, free: 1.395 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001143/0.4167, allocations: 283.3 kB / 0.6091 GB, free: 1.117 MB / 446.1 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.0002942/0.4169, allocations: 135.1 kB / 0.6092 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.4186, allocations: 1.036 MB / 0.6102 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4186, allocations: 0 / 0.6102 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009218/0.4195, allocations: 0.7647 MB / 0.611 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/0.4202, allocations: 48.2 kB / 0.611 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.4225, allocations: 1.237 MB / 0.6122 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/0.4231, allocations: 0.9111 MB / 0.6131 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.4234, allocations: 76.47 kB / 0.6132 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.4234, allocations: 35.44 kB / 0.6132 GB, free: 12.7 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4234, allocations: 0 / 0.6132 GB, free: 12.7 MB / 462.1 MB Notification: Performance of Templates: time 0.01506/0.4385, allocations: 7.283 MB / 0.6203 GB, free: 5.453 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.571782546583563]