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.001831/0.001831, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002483/0.002483, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.562/1.562, 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.2556/0.2556, allocations: 46.9 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 179] 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.002334/0.002334, allocations: 75.88 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4266, allocations: 66 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.01034/0.4369, allocations: 5.366 MB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.4416, allocations: 1.674 MB / 0.5681 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005278/0.4421, allocations: 24 kB / 0.5681 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00507/0.4472, allocations: 1.595 MB / 0.5697 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.4486, allocations: 309.6 kB / 0.5699 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.4499, allocations: 0.5257 MB / 0.5705 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.451, allocations: 0.8085 MB / 0.5713 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.452, allocations: 0.556 MB / 0.5718 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.4526, allocations: 338.8 kB / 0.5721 GB, free: 9.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006103/0.4532, allocations: 470.1 kB / 0.5726 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.4533, allocations: 76 kB / 0.5726 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.4538, allocations: 195.9 kB / 0.5728 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.454, allocations: 175.3 kB / 0.573 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.4544, allocations: 426 kB / 0.5734 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.456, allocations: 1.179 MB / 0.5745 GB, free: 7.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.456, allocations: 4 kB / 0.5746 GB, free: 7.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.456, allocations: 0 / 0.5746 GB, free: 7.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.456, allocations: 0 / 0.5746 GB, free: 7.273 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.00374/0.4598, allocations: 1.376 MB / 0.5759 GB, free: 5.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4598, allocations: 8.031 kB / 0.5759 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.4615, allocations: 236.2 kB / 0.5761 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.4618, allocations: 271.2 kB / 0.5764 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.4619, allocations: 74.38 kB / 0.5765 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.4621, allocations: 100.1 kB / 0.5766 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.4637, allocations: 0.9399 MB / 0.5775 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.4638, allocations: 3.953 kB / 0.5775 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.4638, allocations: 40 kB / 0.5775 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.4639, allocations: 28 kB / 0.5775 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.4652, allocations: 0.7244 MB / 0.5782 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00617/0.4713, allocations: 4.084 MB / 0.5822 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/0.4746, allocations: 3.325 MB / 0.5855 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.4751, allocations: 263.3 kB / 0.5857 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.4753, allocations: 190.5 kB / 0.5859 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.4754, allocations: 38.89 kB / 0.586 GB, free: 10.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.045e-06/0.4754, allocations: 3.938 kB / 0.586 GB, free: 10.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002977/0.4784, allocations: 1.321 MB / 0.5872 GB, free: 8.992 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.4785, allocations: 144.5 kB / 0.5874 GB, free: 8.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.4789, allocations: 314.8 kB / 0.5877 GB, free: 8.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.479, allocations: 37.7 kB / 0.5877 GB, free: 8.457 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.4793, allocations: 411.8 kB / 0.5881 GB, free: 8.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.4795, allocations: 241.9 kB / 0.5883 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.4797, allocations: 150.6 kB / 0.5885 GB, free: 7.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4799, allocations: 346.8 kB / 0.5888 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.4802, allocations: 201.9 kB / 0.589 GB, free: 7.109 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.4808, allocations: 404.6 kB / 0.5894 GB, free: 6.637 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009402/0.4817, allocations: 0.6259 MB / 0.59 GB, free: 5.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4817, allocations: 0 / 0.59 GB, free: 5.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001676/0.4834, allocations: 0.8815 MB / 0.5909 GB, free: 5.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.4834, allocations: 8 kB / 0.5909 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4835, allocations: 8 kB / 0.5909 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006942/0.4842, allocations: 219.4 kB / 0.5911 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.4847, allocations: 143.8 kB / 0.5912 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.4915, allocations: 6.703 MB / 0.5978 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006455/0.4921, allocations: 95.28 kB / 0.5979 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.4922, allocations: 28 kB / 0.5979 GB, free: 13.26 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.0004223/0.4926, allocations: 221.7 kB / 0.5981 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4928, allocations: 39.77 kB / 0.5981 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.4941, allocations: 0.6967 MB / 0.5988 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.4942, allocations: 8 kB / 0.5988 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4942, allocations: 8.375 kB / 0.5988 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.4942, allocations: 3.984 kB / 0.5988 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.4968, allocations: 1.562 MB / 0.6004 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4968, allocations: 0 / 0.6004 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4971, allocations: 71.84 kB / 0.6004 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/0.4976, allocations: 215.2 kB / 0.6006 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.4977, allocations: 12 kB / 0.6007 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007345/0.505, allocations: 6.706 MB / 0.6072 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.505, allocations: 0 / 0.6072 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.5071, allocations: 1.183 MB / 0.6084 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.5073, allocations: 136.7 kB / 0.6085 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.5073, allocations: 15.94 kB / 0.6085 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.5077, allocations: 12 kB / 0.6085 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.5078, allocations: 67.8 kB / 0.6086 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.5079, allocations: 16 kB / 0.6086 GB, free: 1.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.5082, allocations: 213.9 kB / 0.6088 GB, free: 1.367 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5082, allocations: 0 / 0.6088 GB, free: 1.367 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001149/0.5093, allocations: 279.4 kB / 0.6091 GB, free: 1.094 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.0003222/0.5097, allocations: 139.1 kB / 0.6092 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.5116, allocations: 1.037 MB / 0.6102 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.5116, allocations: 4 kB / 0.6102 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.5126, allocations: 0.7678 MB / 0.611 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.5133, allocations: 44.78 kB / 0.611 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.5157, allocations: 1.244 MB / 0.6122 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.5163, allocations: 0.915 MB / 0.6131 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002547/0.5166, allocations: 60.55 kB / 0.6132 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.5167, allocations: 43.41 kB / 0.6132 GB, free: 12.67 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5167, allocations: 0 / 0.6132 GB, free: 12.67 MB / 462.1 MB Notification: Performance of Templates: time 0.01549/0.5322, allocations: 7.276 MB / 0.6203 GB, free: 5.426 MB / 462.1 MB " [Timeout remaining time 659] 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 cvode -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.68446025531739]