Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 47.92 kB / 365.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008553/0.1138, allocations: 6.501 MB / 424.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.1185, allocations: 2.562 MB / 426.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005642/0.1191, allocations: 23.94 kB / 426.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.1221, allocations: 1.274 MB / 428.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.1238, allocations: 0.6874 MB / 428.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.126, allocations: 1.117 MB / 429.9 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1274, allocations: 1.071 MB / 431 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.1286, allocations: 0.6962 MB / 431.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005748/0.1292, allocations: 442.4 kB / 432.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.1298, allocations: 0.5407 MB / 432.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.1299, allocations: 96 kB / 432.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008342/0.1308, allocations: 403.7 kB / 433.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.131, allocations: 239.1 kB / 433.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.1315, allocations: 0.5131 MB / 433.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.1334, allocations: 1.514 MB / 435.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1334, allocations: 0 / 435.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1334, allocations: 0 / 435.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1334, allocations: 0 / 435.4 MB, free: 10.86 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004179/0.1376, allocations: 1.653 MB / 437.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1376, allocations: 12.03 kB / 437.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002359/0.1379, allocations: 171.4 kB / 437.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.141, allocations: 491.8 kB / 437.7 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007623/0.1418, allocations: 494.2 kB / 438.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.1418, allocations: 86.23 kB / 438.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.142, allocations: 112 kB / 438.4 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.1439, allocations: 0.9708 MB / 439.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.1439, allocations: 7.938 kB / 439.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/0.144, allocations: 48 kB / 439.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.1441, allocations: 28 kB / 439.5 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.146, allocations: 0.9652 MB / 440.4 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005984/0.152, allocations: 3.68 MB / 444.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.154, allocations: 1.489 MB / 445.6 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1737/0.3277, allocations: 392.5 kB / 446 MB, free: 29.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.3278, allocations: 101.2 kB / 446.1 MB, free: 29.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007428/0.3285, allocations: 472.3 kB / 446.5 MB, free: 29.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.204e-06/0.3286, allocations: 1.031 kB / 446.5 MB, free: 29.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.00794/0.3365, allocations: 4.003 MB / 450.5 MB, free: 28.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.3365, allocations: 146.3 kB / 450.7 MB, free: 28.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.337, allocations: 398.6 kB / 451.1 MB, free: 28.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.337, allocations: 50.14 kB / 451.1 MB, free: 28.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.3373, allocations: 427.6 kB / 451.5 MB, free: 28.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.3375, allocations: 446 kB / 452 MB, free: 27.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.3378, allocations: 207.1 kB / 452.2 MB, free: 27.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.3379, allocations: 377.8 kB / 452.6 MB, free: 27.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006767/0.3385, allocations: 358.1 kB / 452.9 MB, free: 27.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008149/0.3394, allocations: 0.5391 MB / 453.4 MB, free: 27.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.3411, allocations: 0.9454 MB / 454.4 MB, free: 26.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3411, allocations: 2.031 kB / 454.4 MB, free: 26.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002551/0.3436, allocations: 1.374 MB / 455.8 MB, free: 26.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3437, allocations: 6.594 kB / 455.8 MB, free: 26.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3437, allocations: 5.5 kB / 455.8 MB, free: 26.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008754/0.3446, allocations: 353.3 kB / 456.1 MB, free: 25.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.3454, allocations: 205.2 kB / 456.3 MB, free: 25.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006651/0.352, allocations: 8.484 MB / 464.8 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.3527, allocations: 46.58 kB / 464.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.3528, allocations: 42.73 kB / 464.9 MB, free: 18.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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.0004137/0.3532, allocations: 260 kB / 465.1 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3533, allocations: 83.17 kB / 465.2 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.3557, allocations: 1.29 MB / 466.5 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.3557, allocations: 15.28 kB / 466.5 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.3557, allocations: 7.25 kB / 466.5 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.3557, allocations: 7.375 kB / 466.5 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/0.3595, allocations: 2.503 MB / 469.1 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.3596, allocations: 1.156 kB / 469.1 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.3602, allocations: 158.7 kB / 469.2 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007475/0.361, allocations: 326.6 kB / 469.5 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.361, allocations: 29.83 kB / 469.6 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006071/0.3671, allocations: 8.117 MB / 477.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3671, allocations: 3.797 kB / 477.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.3701, allocations: 1.812 MB / 479.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.3705, allocations: 229.1 kB / 479.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.3706, allocations: 25.2 kB / 479.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.371, allocations: 42.11 kB / 479.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.3713, allocations: 99.69 kB / 479.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.3713, allocations: 35.12 kB / 479.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003164/0.3716, allocations: 270.7 kB / 480.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3716, allocations: 1.469 kB / 480.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001249/0.3729, allocations: 314.8 kB / 480.5 MB, free: 7.965 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * 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.003248/0.3761, allocations: 2.425 MB / 482.9 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002725/0.3789, allocations: 1.561 MB / 484.5 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3789, allocations: 1.062 kB / 484.5 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.3804, allocations: 1.106 MB / 485.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.3809, allocations: 80.48 kB / 485.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009532/0.3905, allocations: 7.314 MB / 493 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.391, allocations: 1.023 MB / 494 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004144/0.3914, allocations: 102.5 kB / 494.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.3919, allocations: 343.5 kB / 494.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3919, allocations: 3.938 kB / 494.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06063/0.4525, allocations: 18.39 MB / 0.5008 GB, free: 13.13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/17.34, allocations: 8.594 kB / 0.5008 GB, free: 13.12 MB / 398.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 20.06598539510742]