Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007767/0.0007767, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007999/0.0007999, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8396/0.8396, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1281/0.1281, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.239e-05, allocations: 5.516 kB / 406.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004086/0.004108, allocations: 4.712 MB / 411.6 MB, free: 8.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.0065, allocations: 1.561 MB / 413.1 MB, free: 7.207 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/0.007015, allocations: 20 kB / 413.1 MB, free: 7.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.008825, allocations: 1.555 MB / 414.7 MB, free: 5.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007639/0.009589, allocations: 309.5 kB / 415 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008964/0.01049, allocations: 0.4945 MB / 415.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008958/0.01138, allocations: 0.8392 MB / 416.3 MB, free: 3.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008738/0.01226, allocations: 0.6234 MB / 417 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.01273, allocations: 0.4989 MB / 417.5 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.01309, allocations: 347 kB / 417.8 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.01325, allocations: 79.98 kB / 417.9 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.01364, allocations: 175.8 kB / 418 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.01374, allocations: 183.3 kB / 418.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.01395, allocations: 287.3 kB / 418.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009646/0.01491, allocations: 1.172 MB / 419.7 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.01492, allocations: 3.938 kB / 419.7 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01492, allocations: 0 / 419.7 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.01494, allocations: 0 / 419.7 MB, free: 0.6094 MB / 346.7 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.002166/0.01711, allocations: 1.285 MB / 421 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.01715, allocations: 16.03 kB / 421 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.01729, allocations: 152.4 kB / 421.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.018, allocations: 232.2 kB / 421.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.01819, allocations: 201.3 kB / 421.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.01824, allocations: 70.38 kB / 421.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.01835, allocations: 100.4 kB / 421.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/0.01932, allocations: 0.9322 MB / 422.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.01935, allocations: 11.95 kB / 422.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.0194, allocations: 40 kB / 422.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.01942, allocations: 24 kB / 422.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/0.02039, allocations: 0.7221 MB / 423.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.02332, allocations: 2.811 MB / 426.3 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008935/0.02421, allocations: 0.7575 MB / 427 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.02446, allocations: 268.4 kB / 427.3 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.02451, allocations: 20.31 kB / 427.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.02454, allocations: 38.89 kB / 427.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.154e-06/0.02454, allocations: 0 / 427.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001428/0.02597, allocations: 1.016 MB / 428.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.02602, allocations: 140.5 kB / 428.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.02626, allocations: 328 kB / 428.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.02629, allocations: 33.7 kB / 428.8 MB, free: 7.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.02644, allocations: 419.9 kB / 429.3 MB, free: 6.699 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.02655, allocations: 237.9 kB / 429.5 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.02668, allocations: 146.5 kB / 429.6 MB, free: 6.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.02677, allocations: 350.8 kB / 430 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.02699, allocations: 201.9 kB / 430.2 MB, free: 5.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.02747, allocations: 396.7 kB / 430.6 MB, free: 5.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.02802, allocations: 0.6197 MB / 431.2 MB, free: 4.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.02803, allocations: 4 kB / 431.2 MB, free: 4.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009529/0.02898, allocations: 0.879 MB / 432.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.029, allocations: 8 kB / 432.1 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.02901, allocations: 8 kB / 432.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003958/0.02941, allocations: 223.4 kB / 432.3 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.02966, allocations: 139.8 kB / 432.4 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/0.03327, allocations: 6.249 MB / 438.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.03358, allocations: 91.3 kB / 438.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.03361, allocations: 32 kB / 438.8 MB, free: 12.49 MB / 378.7 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.0002574/0.03387, allocations: 229.6 kB / 439 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.03395, allocations: 43.72 kB / 439.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007314/0.03468, allocations: 0.6775 MB / 439.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.03469, allocations: 8 kB / 439.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.03469, allocations: 4 kB / 439.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.0347, allocations: 3.984 kB / 439.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.03621, allocations: 1.456 MB / 441.2 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.03622, allocations: 4 kB / 441.2 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.03635, allocations: 67.91 kB / 441.3 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003163/0.03667, allocations: 215.4 kB / 441.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.03669, allocations: 16 kB / 441.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/0.04003, allocations: 6.241 MB / 447.7 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.04003, allocations: 4.031 kB / 447.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.04103, allocations: 1.182 MB / 448.9 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.04111, allocations: 55.55 kB / 449 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.04114, allocations: 12 kB / 449 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.04131, allocations: 16 kB / 449 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.0414, allocations: 59.83 kB / 449.1 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.04142, allocations: 19.94 kB / 449.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.04158, allocations: 215.1 kB / 449.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04158, allocations: 0 / 449.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006796/0.04226, allocations: 275.5 kB / 449.6 MB, free: 1.121 MB / 378.7 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.1465/0.1888, allocations: 1.753 MB / 451.3 MB, free: 51.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1899, allocations: 1.039 MB / 452.4 MB, free: 50.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1899, allocations: 1.375 kB / 452.4 MB, free: 50.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.1904, allocations: 0.759 MB / 453.1 MB, free: 50.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.1909, allocations: 48.11 kB / 453.2 MB, free: 50.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.1953, allocations: 5.092 MB / 458.3 MB, free: 47.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1956, allocations: 316.2 kB / 458.6 MB, free: 47.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.1958, allocations: 66.97 kB / 458.6 MB, free: 47.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.196, allocations: 230.1 kB / 458.9 MB, free: 47.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.196, allocations: 1.25 kB / 458.9 MB, free: 47.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.2296, allocations: 12.77 MB / 471.6 MB, free: 43.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.255, allocations: 0 / 471.6 MB, free: 43.23 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.064279237762094]