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.00145/0.00145, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001614/0.001614, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.498/1.498, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.2377/0.2377, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] 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.002661/0.002661, allocations: 83.86 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3418, allocations: 66.09 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007051/0.3489, allocations: 4.751 MB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.3521, allocations: 1.58 MB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.3523, allocations: 20 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003582/0.3559, allocations: 1.47 MB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009085/0.3568, allocations: 317.6 kB / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.3581, allocations: 0.4976 MB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009998/0.3591, allocations: 0.7968 MB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.3602, allocations: 0.6231 MB / 0.5717 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005059/0.3607, allocations: 350.7 kB / 0.5721 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.3612, allocations: 410.2 kB / 0.5725 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3613, allocations: 76 kB / 0.5725 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.3618, allocations: 191.9 kB / 0.5727 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.3619, allocations: 171.3 kB / 0.5729 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.3623, allocations: 350.4 kB / 0.5732 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.3637, allocations: 1.182 MB / 0.5744 GB, free: 7.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3637, allocations: 0 / 0.5744 GB, free: 7.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3637, allocations: 0 / 0.5744 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3637, allocations: 0 / 0.5744 GB, free: 7.152 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.003422/0.3672, allocations: 1.3 MB / 0.5756 GB, free: 5.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3672, allocations: 12.02 kB / 0.5756 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.3688, allocations: 232.2 kB / 0.5759 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.3691, allocations: 209.4 kB / 0.5761 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/0.3691, allocations: 74.38 kB / 0.5761 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.3693, allocations: 108.1 kB / 0.5762 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.371, allocations: 0.936 MB / 0.5771 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/0.371, allocations: 3.953 kB / 0.5772 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.139e-05/0.3711, allocations: 40 kB / 0.5772 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.3711, allocations: 31.98 kB / 0.5772 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.3725, allocations: 0.7222 MB / 0.5779 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004989/0.3775, allocations: 2.712 MB / 0.5806 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.3791, allocations: 0.7642 MB / 0.5813 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.3796, allocations: 266.9 kB / 0.5816 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.3797, allocations: 28.31 kB / 0.5816 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.3797, allocations: 38.89 kB / 0.5816 GB, free: 15.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.565e-06/0.3797, allocations: 0 / 0.5816 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002662/0.3824, allocations: 1.005 MB / 0.5826 GB, free: 14.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.3825, allocations: 144.5 kB / 0.5828 GB, free: 14.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.3829, allocations: 297.5 kB / 0.583 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.3829, allocations: 45.75 kB / 0.5831 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.3832, allocations: 415.8 kB / 0.5835 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.3834, allocations: 245.9 kB / 0.5837 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.3837, allocations: 146.6 kB / 0.5839 GB, free: 13.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3839, allocations: 346.8 kB / 0.5842 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.3843, allocations: 201.9 kB / 0.5844 GB, free: 12.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.3848, allocations: 396.6 kB / 0.5848 GB, free: 12.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009743/0.3858, allocations: 0.6336 MB / 0.5854 GB, free: 11.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3858, allocations: 0 / 0.5854 GB, free: 11.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001612/0.3874, allocations: 0.8814 MB / 0.5862 GB, free: 10.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3874, allocations: 9.875 kB / 0.5862 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3875, allocations: 4 kB / 0.5863 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006909/0.3882, allocations: 227.4 kB / 0.5865 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.3886, allocations: 139.8 kB / 0.5866 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/0.3951, allocations: 6.162 MB / 0.5926 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.3957, allocations: 79.41 kB / 0.5927 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.3958, allocations: 35.98 kB / 0.5927 GB, free: 3.41 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.0003933/0.3961, allocations: 221.8 kB / 0.5929 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3963, allocations: 47.66 kB / 0.593 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.3976, allocations: 0.6802 MB / 0.5937 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3976, allocations: 4 kB / 0.5937 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3976, allocations: 8 kB / 0.5937 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3976, allocations: 7.984 kB / 0.5937 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.4, allocations: 1.351 MB / 0.595 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4, allocations: 0 / 0.595 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.4003, allocations: 71.91 kB / 0.5951 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/0.4008, allocations: 215.2 kB / 0.5953 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.4009, allocations: 19.94 kB / 0.5953 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006488/0.4074, allocations: 6.155 MB / 0.6013 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4074, allocations: 128 / 0.6013 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.4093, allocations: 1.191 MB / 0.6025 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.4094, allocations: 47.56 kB / 0.6025 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.4095, allocations: 16 kB / 0.6025 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.4098, allocations: 12 kB / 0.6025 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.4099, allocations: 75.67 kB / 0.6026 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.41, allocations: 20 kB / 0.6026 GB, free: 8.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.4102, allocations: 189.2 kB / 0.6028 GB, free: 8.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4102, allocations: 0 / 0.6028 GB, free: 8.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001134/0.4114, allocations: 279.4 kB / 0.6031 GB, free: 8.293 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.000336/0.4117, allocations: 143 kB / 0.6032 GB, free: 8.145 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.4136, allocations: 1.053 MB / 0.6042 GB, free: 7.039 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4136, allocations: 0 / 0.6042 GB, free: 7.039 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009966/0.4146, allocations: 0.7609 MB / 0.605 GB, free: 6.227 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.4153, allocations: 40.44 kB / 0.605 GB, free: 6.188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.4179, allocations: 1.276 MB / 0.6063 GB, free: 4.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.4183, allocations: 314.5 kB / 0.6066 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.4184, allocations: 47.42 kB / 0.6066 GB, free: 4.488 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4184, allocations: 0 / 0.6066 GB, free: 4.488 MB / 446.1 MB Notification: Performance of Templates: time 0.02682/0.4452, allocations: 19.93 MB / 0.6261 GB, free: 0.543 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/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_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: 8.991590673103929]