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.001266/0.001266, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001396/0.001396, allocations: 180.5 kB / 23.72 MB, free: 4.699 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.467/1.467, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.001825/0.001825, allocations: 43.94 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2572, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008906/0.2661, allocations: 6.542 MB / 429.2 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004964/0.271, allocations: 2.562 MB / 431.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007849/0.2718, allocations: 20 kB / 431.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.2751, allocations: 1.287 MB / 433 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.2772, allocations: 0.6981 MB / 433.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.2797, allocations: 1.108 MB / 434.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.2815, allocations: 1.067 MB / 435.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.283, allocations: 0.7861 MB / 436.7 MB, free: 456 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007762/0.2838, allocations: 446.4 kB / 437.1 MB, free: 8 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.2848, allocations: 0.5447 MB / 437.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.285, allocations: 96 kB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.286, allocations: 407.5 kB / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.2863, allocations: 231.2 kB / 438.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007093/0.287, allocations: 0.5209 MB / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.2893, allocations: 1.514 MB / 440.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2893, allocations: 0 / 440.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2893, allocations: 3.938 kB / 440.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.366e-05/0.2893, allocations: 0 / 440.4 MB, free: 12.7 MB / 350.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.004834/0.2942, allocations: 1.681 MB / 442.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.2942, allocations: 8.031 kB / 442.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002768/0.2945, allocations: 171.4 kB / 442.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.2976, allocations: 487.8 kB / 442.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.2984, allocations: 432 kB / 443.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.2985, allocations: 86.23 kB / 443.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.2986, allocations: 115.9 kB / 443.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.3006, allocations: 0.9669 MB / 444.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.3007, allocations: 0 / 444.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-05/0.3008, allocations: 48 kB / 444.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.3008, allocations: 31.94 kB / 444.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.3028, allocations: 0.9653 MB / 445.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006591/0.3094, allocations: 3.498 MB / 448.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.3111, allocations: 0.817 MB / 449.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/0.312, allocations: 391.4 kB / 450.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.491e-05/0.3121, allocations: 29.05 kB / 450.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008902/0.313, allocations: 470.5 kB / 450.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.595e-06/0.313, allocations: 0 / 450.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009467/0.3224, allocations: 3.703 MB / 454.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.3226, allocations: 141.5 kB / 454.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.3231, allocations: 397.5 kB / 454.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.3231, allocations: 49.7 kB / 454.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.3235, allocations: 433 kB / 455.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/0.3239, allocations: 444.1 kB / 455.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.3242, allocations: 206.9 kB / 455.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3244, allocations: 370.8 kB / 456.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000748/0.3251, allocations: 354.5 kB / 456.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008912/0.326, allocations: 0.539 MB / 457.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.3277, allocations: 0.9381 MB / 458.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3277, allocations: 0 / 458.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002681/0.3304, allocations: 1.371 MB / 459.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3304, allocations: 7.281 kB / 459.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.3304, allocations: 4 kB / 459.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009047/0.3313, allocations: 347.2 kB / 459.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008774/0.3322, allocations: 211.6 kB / 460 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008699/0.3409, allocations: 8.071 MB / 468.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.3416, allocations: 43.94 kB / 468.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.3417, allocations: 51.98 kB / 468.2 MB, free: 15.89 MB / 382.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.000466/0.3422, allocations: 261.5 kB / 468.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.3423, allocations: 75.53 kB / 468.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.345, allocations: 1.282 MB / 469.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.345, allocations: 12 kB / 469.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.345, allocations: 8 kB / 469.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.345, allocations: 7.969 kB / 469.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/0.3493, allocations: 2.486 MB / 472.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.3493, allocations: 7.969 kB / 472.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006924/0.35, allocations: 151.8 kB / 472.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008063/0.3508, allocations: 324.6 kB / 472.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.3508, allocations: 28.12 kB / 472.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008108/0.359, allocations: 7.72 MB / 480.5 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.359, allocations: 0 / 480.5 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.3625, allocations: 1.81 MB / 482.4 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.3628, allocations: 147.4 kB / 482.5 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3629, allocations: 27.98 kB / 482.5 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.3635, allocations: 35.98 kB / 482.6 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.3637, allocations: 104.7 kB / 482.7 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/0.3637, allocations: 35.98 kB / 482.7 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003214/0.3641, allocations: 275.2 kB / 483 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 0 / 483 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001137/0.3652, allocations: 312 kB / 483.3 MB, free: 208 kB / 382.1 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_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.003758/0.369, allocations: 2.411 MB / 485.7 MB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002813/0.3718, allocations: 1.553 MB / 487.2 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3718, allocations: 4.062 kB / 487.2 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.3735, allocations: 1.103 MB / 488.3 MB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.374, allocations: 85.36 kB / 488.4 MB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.3862, allocations: 7.283 MB / 495.7 MB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.3869, allocations: 1.032 MB / 496.7 MB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00044/0.3874, allocations: 102.2 kB / 496.8 MB, free: 2.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004619/0.3878, allocations: 339.3 kB / 497.2 MB, free: 1.836 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3878, allocations: 0 / 497.2 MB, free: 1.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06858/0.4564, allocations: 19.26 MB / 0.5043 GB, free: 14.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/18.42, allocations: 13.45 kB / 0.5043 GB, free: 14.72 MB / 430.1 MB " [Timeout remaining time 641] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 21.125597696984187]