Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.0008681/0.0008681, allocations: 83.64 kB / 21.43 MB, free: 3.137 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.004939/0.004939, allocations: 161.5 kB / 24.69 MB, free: 9.422 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.9073/0.9073, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.993e-05, allocations: 6.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.1837/0.1838, allocations: 5.783 MB / 304.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1863, allocations: 2.427 MB / 306.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.1865, allocations: 22.72 kB / 306.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1878, allocations: 1.253 MB / 307.9 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.1886, allocations: 0.5516 MB / 308.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1898, allocations: 1.179 MB / 309.7 MB, free: 9.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007587/0.1905, allocations: 1.14 MB / 310.8 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.1913, allocations: 0.7758 MB / 311.6 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005628/0.1919, allocations: 0.6608 MB / 312.2 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.1923, allocations: 426.8 kB / 312.6 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1925, allocations: 97.88 kB / 312.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.193, allocations: 394.5 kB / 313.1 MB, free: 8.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.1931, allocations: 242.7 kB / 313.4 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.1934, allocations: 364.1 kB / 313.7 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.1948, allocations: 1.574 MB / 315.3 MB, free: 7.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1948, allocations: 0 / 315.3 MB, free: 7.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1948, allocations: 1.156 kB / 315.3 MB, free: 7.297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.1949, allocations: 0 / 315.3 MB, free: 7.297 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.002665/0.1975, allocations: 1.696 MB / 317 MB, free: 6.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1976, allocations: 16.61 kB / 317 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.1978, allocations: 176.6 kB / 317.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.1997, allocations: 0.5734 MB / 317.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.2003, allocations: 447.7 kB / 318.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/0.2003, allocations: 91.44 kB / 318.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.2005, allocations: 111 kB / 318.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2018, allocations: 1.061 MB / 319.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.2019, allocations: 5.453 kB / 319.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.2019, allocations: 50.8 kB / 319.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.2019, allocations: 26.91 kB / 319.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.2033, allocations: 1.03 MB / 320.6 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.2071, allocations: 3.163 MB / 323.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.2084, allocations: 0.8616 MB / 324.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.2089, allocations: 406.8 kB / 325 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.998e-05/0.209, allocations: 19.94 kB / 325 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006024/0.2096, allocations: 0.5219 MB / 325.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=98): time 2.344e-06/0.2096, allocations: 0 / 325.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=127): time 0.005648/0.2153, allocations: 3.681 MB / 329.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.2153, allocations: 143.3 kB / 329.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.2158, allocations: 423.8 kB / 329.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.2158, allocations: 47.2 kB / 329.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.2161, allocations: 459.6 kB / 330.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.2164, allocations: 445.6 kB / 330.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.2166, allocations: 216.5 kB / 330.9 MB, free: 14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2168, allocations: 385.6 kB / 331.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/0.2173, allocations: 357.5 kB / 331.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.2179, allocations: 0.63 MB / 332.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.219, allocations: 0.993 MB / 333.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.219, allocations: 4 kB / 333.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001693/0.2207, allocations: 1.41 MB / 334.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.2208, allocations: 8 kB / 334.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2208, allocations: 4 kB / 334.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/0.2214, allocations: 355.1 kB / 335 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.2219, allocations: 224.5 kB / 335.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.2279, allocations: 7.981 MB / 343.2 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.2283, allocations: 55.88 kB / 343.3 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.2284, allocations: 44 kB / 343.3 MB, free: 0.9336 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004004/0.2288, allocations: 273.6 kB / 343.6 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.2289, allocations: 75.53 kB / 343.7 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.2306, allocations: 1.302 MB / 345 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.2306, allocations: 16 kB / 345 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.2306, allocations: 7.938 kB / 345 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.2306, allocations: 11.97 kB / 345 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.2334, allocations: 2.361 MB / 347.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.2334, allocations: 4 kB / 347.4 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.2338, allocations: 151.8 kB / 347.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/0.2343, allocations: 331.8 kB / 347.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.2343, allocations: 28 kB / 347.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/0.2395, allocations: 7.622 MB / 355.5 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2395, allocations: 0 / 355.5 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.2417, allocations: 1.83 MB / 357.3 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.2419, allocations: 147.5 kB / 357.5 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.242, allocations: 27.94 kB / 357.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.2422, allocations: 43.97 kB / 357.5 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.2424, allocations: 105 kB / 357.6 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.2425, allocations: 35.98 kB / 357.7 MB, free: 1.965 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002256/0.2427, allocations: 279.2 kB / 357.9 MB, free: 1.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2427, allocations: 0 / 357.9 MB, free: 1.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001104/0.2438, allocations: 324 kB / 358.3 MB, free: 1.379 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002667/0.2464, allocations: 2.433 MB / 360.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.2483, allocations: 1.581 MB / 362.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2483, allocations: 0 / 362.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.2495, allocations: 1.107 MB / 363.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.2499, allocations: 83.55 kB / 363.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/0.2584, allocations: 7.463 MB / 370.9 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.2588, allocations: 436.5 kB / 371.3 MB, free: 3.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002914/0.2591, allocations: 110.4 kB / 371.5 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.2594, allocations: 356.4 kB / 371.8 MB, free: 3.324 MB / 330.7 MB Notification: Performance of SimCode: time 2.845e-06/0.2594, allocations: 4 kB / 371.8 MB, free: 3.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05084/0.3103, allocations: 19.81 MB / 391.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.422, allocations: 11.98 kB / 391.6 MB, free: 15.41 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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: 10.273751601576805]