Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.0008851/0.0008851, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001311/0.001311, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.947/0.947, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.147e-06/4.147e-06, allocations: 4 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/3.14e-05, allocations: 2.984 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008541/0.008572, allocations: 5.851 MB / 330.4 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.01186, allocations: 2.479 MB / 332.8 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003956/0.01225, allocations: 24 kB / 332.9 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.01371, allocations: 1.247 MB / 334.1 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009899/0.0147, allocations: 0.5354 MB / 334.6 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.01613, allocations: 1.198 MB / 335.8 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.01722, allocations: 1.109 MB / 337 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009223/0.01814, allocations: 0.7778 MB / 337.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006509/0.01879, allocations: 0.6586 MB / 338.4 MB, free: 1.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/0.01923, allocations: 422.8 kB / 338.8 MB, free: 1.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.865e-05/0.01933, allocations: 96 kB / 338.9 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007591/0.02009, allocations: 395.4 kB / 339.3 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.02022, allocations: 243.1 kB / 339.5 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.02048, allocations: 363 kB / 339.9 MB, free: 432 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.02186, allocations: 1.569 MB / 341.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.02186, allocations: 0 / 341.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.02187, allocations: 4 kB / 341.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.02188, allocations: 0 / 341.4 MB, free: 14.84 MB / 314.7 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.002685/0.02456, allocations: 1.681 MB / 343.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.02461, allocations: 11.98 kB / 343.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/0.02484, allocations: 175.4 kB / 343.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.0264, allocations: 471.8 kB / 343.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.02698, allocations: 448.6 kB / 344.2 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.02704, allocations: 86.61 kB / 344.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.02714, allocations: 119.9 kB / 344.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.02835, allocations: 1.021 MB / 345.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.02838, allocations: 7.938 kB / 345.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.02844, allocations: 44 kB / 345.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.02846, allocations: 28 kB / 345.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.02962, allocations: 0.9575 MB / 346.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/0.03355, allocations: 3.086 MB / 349.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.03463, allocations: 0.8206 MB / 350.4 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/0.03511, allocations: 392.3 kB / 350.8 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-05/0.0352, allocations: 28.91 kB / 350.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000612/0.03581, allocations: 0.5097 MB / 351.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.916e-06/0.03581, allocations: 4 kB / 351.3 MB, free: 4.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.005511/0.04132, allocations: 3.695 MB / 355 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.04141, allocations: 149.5 kB / 355.1 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.04174, allocations: 417.4 kB / 355.5 MB, free: 352 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.04178, allocations: 45.7 kB / 355.6 MB, free: 300 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.04202, allocations: 437.1 kB / 356 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.04222, allocations: 436.2 kB / 356.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.04242, allocations: 210.9 kB / 356.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.04253, allocations: 374.8 kB / 357 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.04296, allocations: 346.5 kB / 357.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.04355, allocations: 0.5892 MB / 357.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.0446, allocations: 0.9349 MB / 358.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.04461, allocations: 4 kB / 358.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00154/0.04615, allocations: 1.363 MB / 360.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.04617, allocations: 11.94 kB / 360.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.04618, allocations: 4 kB / 360.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/0.04672, allocations: 350.4 kB / 360.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.04717, allocations: 203.7 kB / 360.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/0.05229, allocations: 7.969 MB / 368.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.05267, allocations: 48.17 kB / 368.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.05271, allocations: 40 kB / 368.9 MB, free: 2.391 MB / 330.7 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.000326/0.05304, allocations: 269.5 kB / 369.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.05311, allocations: 79.47 kB / 369.2 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.05466, allocations: 1.282 MB / 370.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.05467, allocations: 16 kB / 370.5 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.05467, allocations: 4 kB / 370.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.05468, allocations: 11.97 kB / 370.5 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.0573, allocations: 2.342 MB / 372.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.0573, allocations: 4 kB / 372.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.05766, allocations: 151.8 kB / 373 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/0.05812, allocations: 333.5 kB / 373.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.05816, allocations: 31.92 kB / 373.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004672/0.06284, allocations: 7.619 MB / 381 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.06284, allocations: 3.938 kB / 381 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.06506, allocations: 1.817 MB / 382.8 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.06531, allocations: 147.5 kB / 382.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.06537, allocations: 24 kB / 383 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.06561, allocations: 35.98 kB / 383 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.0658, allocations: 104.7 kB / 383.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.06584, allocations: 39.98 kB / 383.1 MB, free: 3.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002296/0.06607, allocations: 279.1 kB / 383.4 MB, free: 3.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06607, allocations: 4 kB / 383.4 MB, free: 3.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009047/0.06697, allocations: 323.9 kB / 383.7 MB, free: 2.891 MB / 346.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_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.002406/0.06938, allocations: 2.407 MB / 386.1 MB, free: 432 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.07134, allocations: 1.552 MB / 387.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.07135, allocations: 4 kB / 387.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.07239, allocations: 1.096 MB / 388.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.07288, allocations: 82.48 kB / 388.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008558/0.08144, allocations: 7.263 MB / 396.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.08198, allocations: 436.1 kB / 396.6 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.08229, allocations: 102.2 kB / 396.7 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.0826, allocations: 356.4 kB / 397 MB, free: 5.148 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.08261, allocations: 0 / 397 MB, free: 5.148 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04113/0.1237, allocations: 19.98 MB / 417 MB, free: 1.348 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.807, allocations: 12 kB / 417 MB, free: 1.336 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.801993203349411]