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.001618/0.001618, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001501/0.001501, allocations: 220.9 kB / 25.13 MB, free: 3.609 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.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2154/0.2154, allocations: 46.93 MB / 362 MB, free: 4.23 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.002364/0.002364, allocations: 83.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3433, allocations: 66.07 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007475/0.3508, allocations: 5.33 MB / 0.5675 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003413/0.3542, allocations: 1.678 MB / 0.5692 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.3546, allocations: 16 kB / 0.5692 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0037/0.3583, allocations: 1.598 MB / 0.5707 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.3595, allocations: 313.6 kB / 0.571 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.3609, allocations: 0.518 MB / 0.5715 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.3621, allocations: 0.8085 MB / 0.5723 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.3631, allocations: 0.6387 MB / 0.573 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005228/0.3637, allocations: 354.7 kB / 0.5733 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.3642, allocations: 454.2 kB / 0.5737 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3643, allocations: 76 kB / 0.5738 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.3648, allocations: 199.8 kB / 0.574 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.365, allocations: 183.3 kB / 0.5742 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.3654, allocations: 418 kB / 0.5746 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.3669, allocations: 1.186 MB / 0.5757 GB, free: 6.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3669, allocations: 4 kB / 0.5757 GB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3669, allocations: 0 / 0.5757 GB, free: 6.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.3669, allocations: 3.938 kB / 0.5757 GB, free: 6.465 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.003333/0.3702, allocations: 1.297 MB / 0.577 GB, free: 5.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3703, allocations: 12.03 kB / 0.577 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.3719, allocations: 232.2 kB / 0.5772 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.3722, allocations: 202 kB / 0.5774 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.625e-05/0.3723, allocations: 74.38 kB / 0.5775 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.3724, allocations: 100.1 kB / 0.5776 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.374, allocations: 0.9361 MB / 0.5785 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.3741, allocations: 3.953 kB / 0.5785 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.3742, allocations: 40 kB / 0.5785 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.3742, allocations: 27.94 kB / 0.5786 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3755, allocations: 0.7287 MB / 0.5793 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005503/0.381, allocations: 3.669 MB / 0.5829 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.3827, allocations: 0.7666 MB / 0.5836 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.3831, allocations: 260.5 kB / 0.5839 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.3832, allocations: 32.28 kB / 0.5839 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.3833, allocations: 46.83 kB / 0.5839 GB, free: 13.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.565e-06/0.3833, allocations: 0 / 0.5839 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002772/0.386, allocations: 1.017 MB / 0.5849 GB, free: 12.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.3861, allocations: 136.5 kB / 0.5851 GB, free: 12.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.3866, allocations: 316 kB / 0.5854 GB, free: 12.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.3866, allocations: 41.7 kB / 0.5854 GB, free: 12.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.387, allocations: 407.8 kB / 0.5858 GB, free: 11.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.3873, allocations: 238 kB / 0.586 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.3876, allocations: 150.6 kB / 0.5862 GB, free: 11.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.3878, allocations: 354.8 kB / 0.5865 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.3882, allocations: 205.9 kB / 0.5867 GB, free: 10.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008169/0.389, allocations: 396.6 kB / 0.5871 GB, free: 10.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3901, allocations: 0.6335 MB / 0.5877 GB, free: 9.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.3901, allocations: 4 kB / 0.5877 GB, free: 9.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001908/0.392, allocations: 0.8695 MB / 0.5885 GB, free: 8.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.3921, allocations: 8 kB / 0.5886 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.3921, allocations: 8.5 kB / 0.5886 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008317/0.3929, allocations: 227.2 kB / 0.5888 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.3935, allocations: 135.8 kB / 0.5889 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006918/0.4004, allocations: 6.304 MB / 0.5951 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.401, allocations: 83.41 kB / 0.5951 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.4011, allocations: 31.98 kB / 0.5952 GB, free: 1.406 MB / 430.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.0004404/0.4015, allocations: 230.5 kB / 0.5954 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.4016, allocations: 47.72 kB / 0.5954 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.403, allocations: 0.6842 MB / 0.5961 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.403, allocations: 7.984 kB / 0.5961 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.403, allocations: 8 kB / 0.5961 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.403, allocations: 0 / 0.5961 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.4059, allocations: 1.526 MB / 0.5976 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4059, allocations: 0 / 0.5976 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.4062, allocations: 67.91 kB / 0.5977 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/0.4067, allocations: 215.2 kB / 0.5979 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.4068, allocations: 16 kB / 0.5979 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006666/0.4134, allocations: 6.309 MB / 0.6041 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4134, allocations: 0 / 0.6041 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.4154, allocations: 1.191 MB / 0.6052 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.4155, allocations: 47.67 kB / 0.6053 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.4156, allocations: 20.05 kB / 0.6053 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.4159, allocations: 12 kB / 0.6053 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.416, allocations: 68 kB / 0.6054 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.4161, allocations: 16 kB / 0.6054 GB, free: 6.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.4164, allocations: 215.1 kB / 0.6056 GB, free: 6.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4164, allocations: 0 / 0.6056 GB, free: 6.156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001017/0.4174, allocations: 283.3 kB / 0.6059 GB, free: 5.879 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.0002594/0.4176, allocations: 135.1 kB / 0.606 GB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.4194, allocations: 1.061 MB / 0.607 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4194, allocations: 0 / 0.607 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009901/0.4203, allocations: 0.7482 MB / 0.6077 GB, free: 3.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.421, allocations: 41.03 kB / 0.6078 GB, free: 3.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.4234, allocations: 1.235 MB / 0.609 GB, free: 2.504 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007676/0.4241, allocations: 0.9111 MB / 0.6099 GB, free: 1.562 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.4244, allocations: 64.55 kB / 0.6099 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.4245, allocations: 43.36 kB / 0.61 GB, free: 1.461 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4245, allocations: 0 / 0.61 GB, free: 1.461 MB / 446.1 MB Notification: Performance of Templates: time 0.01534/0.4398, allocations: 7.476 MB / 0.6173 GB, free: 10.02 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.441306696971878]