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.001782/0.001782, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002363/0.002363, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.602/1.602, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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.2408/0.2408, allocations: 46.94 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002583/0.002583, allocations: 83.88 kB / 0.4966 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3604, allocations: 66.09 MB / 0.5612 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006751/0.3672, allocations: 4.74 MB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.37, allocations: 1.58 MB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.3702, allocations: 20 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.3736, allocations: 1.481 MB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006491/0.3743, allocations: 313.6 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3753, allocations: 0.4897 MB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008422/0.3762, allocations: 0.8123 MB / 0.5704 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000927/0.3771, allocations: 0.6192 MB / 0.571 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.3775, allocations: 354.8 kB / 0.5713 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.3781, allocations: 402.2 kB / 0.5717 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3782, allocations: 76 kB / 0.5718 GB, free: 9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.3786, allocations: 195.8 kB / 0.572 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.3787, allocations: 183.3 kB / 0.5722 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.379, allocations: 342.4 kB / 0.5725 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.3803, allocations: 1.174 MB / 0.5736 GB, free: 7.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3803, allocations: 4 kB / 0.5736 GB, free: 7.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3803, allocations: 3.938 kB / 0.5736 GB, free: 7.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3803, allocations: 0 / 0.5736 GB, free: 7.109 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.003266/0.3836, allocations: 1.3 MB / 0.5749 GB, free: 5.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3836, allocations: 12.03 kB / 0.5749 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.3851, allocations: 232.2 kB / 0.5751 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3854, allocations: 202 kB / 0.5753 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.3854, allocations: 82.31 kB / 0.5754 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.3856, allocations: 100.1 kB / 0.5755 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.3871, allocations: 0.9321 MB / 0.5764 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.3871, allocations: 7.953 kB / 0.5764 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/0.3872, allocations: 51.92 kB / 0.5765 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.3872, allocations: 24 kB / 0.5765 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3885, allocations: 0.7106 MB / 0.5772 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004526/0.3931, allocations: 2.716 MB / 0.5798 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.3948, allocations: 0.776 MB / 0.5806 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.3952, allocations: 264.8 kB / 0.5808 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.929e-05/0.3953, allocations: 28.3 kB / 0.5809 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.3953, allocations: 42.83 kB / 0.5809 GB, free: 15.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.655e-06/0.3953, allocations: 0 / 0.5809 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002578/0.3979, allocations: 1.004 MB / 0.5819 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/0.398, allocations: 136.6 kB / 0.582 GB, free: 14.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.3984, allocations: 309.6 kB / 0.5823 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.3984, allocations: 33.7 kB / 0.5824 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.3988, allocations: 415.8 kB / 0.5828 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.399, allocations: 241.9 kB / 0.583 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.3992, allocations: 146.6 kB / 0.5831 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3994, allocations: 346.8 kB / 0.5835 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3998, allocations: 205.8 kB / 0.5836 GB, free: 12.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.4003, allocations: 400.6 kB / 0.584 GB, free: 12.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.4013, allocations: 0.6259 MB / 0.5846 GB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.4013, allocations: 4 kB / 0.5846 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001609/0.4029, allocations: 0.8773 MB / 0.5855 GB, free: 10.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.403, allocations: 10.03 kB / 0.5855 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.403, allocations: 11.94 kB / 0.5855 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/0.4037, allocations: 219.7 kB / 0.5857 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.4041, allocations: 135.8 kB / 0.5859 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/0.4107, allocations: 6.162 MB / 0.5919 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.4112, allocations: 79.41 kB / 0.592 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.4112, allocations: 39.98 kB / 0.592 GB, free: 3.375 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.0003462/0.4116, allocations: 221.7 kB / 0.5922 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.4117, allocations: 47.66 kB / 0.5923 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.4131, allocations: 0.6873 MB / 0.5929 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4131, allocations: 12 kB / 0.5929 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4131, allocations: 4 kB / 0.5929 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4131, allocations: 0 / 0.5929 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.4154, allocations: 1.347 MB / 0.5943 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4154, allocations: 4 kB / 0.5943 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.4156, allocations: 67.91 kB / 0.5943 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005257/0.4162, allocations: 219.5 kB / 0.5945 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.4162, allocations: 19.94 kB / 0.5946 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006042/0.4222, allocations: 6.159 MB / 0.6006 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4223, allocations: 4.031 kB / 0.6006 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.424, allocations: 1.187 MB / 0.6017 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.4242, allocations: 47.61 kB / 0.6018 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.4242, allocations: 16.12 kB / 0.6018 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.4246, allocations: 15.98 kB / 0.6018 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4247, allocations: 63.77 kB / 0.6019 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.4247, allocations: 16 kB / 0.6019 GB, free: 8.719 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.4249, allocations: 193.2 kB / 0.6021 GB, free: 8.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4249, allocations: 0 / 0.6021 GB, free: 8.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001069/0.426, allocations: 279.4 kB / 0.6023 GB, free: 8.258 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.0003168/0.4263, allocations: 147 kB / 0.6025 GB, free: 8.105 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.4281, allocations: 1.052 MB / 0.6035 GB, free: 7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4281, allocations: 1.125 kB / 0.6035 GB, free: 7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009906/0.429, allocations: 0.7522 MB / 0.6042 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.4297, allocations: 44.48 kB / 0.6043 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.432, allocations: 1.239 MB / 0.6055 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.4324, allocations: 318.4 kB / 0.6058 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.4326, allocations: 60.39 kB / 0.6058 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.4327, allocations: 43.52 kB / 0.6059 GB, free: 4.434 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4327, allocations: 3.938 kB / 0.6059 GB, free: 4.43 MB / 446.1 MB Notification: Performance of Templates: time 0.01558/0.4483, allocations: 7.585 MB / 0.6133 GB, free: 12.91 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.680821033194661]