Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.0008536/0.0008536, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.000869/0.000869, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8784/0.8784, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.127e-05, allocations: 8.609 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004131/0.004153, allocations: 4.566 MB / 329.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.006454, allocations: 2.027 MB / 331.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.006664, allocations: 16 kB / 331.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.008123, allocations: 1.372 MB / 332.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006841/0.008807, allocations: 429.1 kB / 333 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.00995, allocations: 1.146 MB / 334.1 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.01052, allocations: 0.766 MB / 334.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005989/0.01112, allocations: 0.5675 MB / 335.5 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.01174, allocations: 478.9 kB / 335.9 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.01199, allocations: 323.1 kB / 336.2 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.01205, allocations: 72 kB / 336.3 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.01255, allocations: 395.3 kB / 336.7 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.01263, allocations: 163.3 kB / 336.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.01278, allocations: 259.3 kB / 337.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008611/0.01364, allocations: 1.258 MB / 338.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01364, allocations: 0 / 338.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01364, allocations: 0 / 338.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.01365, allocations: 0 / 338.4 MB, free: 2.098 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002305/0.01596, allocations: 1.394 MB / 339.8 MB, free: 0.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.01601, allocations: 8.031 kB / 339.8 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.01612, allocations: 131.4 kB / 339.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.01734, allocations: 372.1 kB / 340.3 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.0175, allocations: 193.6 kB / 340.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.01755, allocations: 74.38 kB / 340.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.01763, allocations: 84.31 kB / 340.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.01864, allocations: 0.8897 MB / 341.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.01867, allocations: 4.141 kB / 341.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.01872, allocations: 44.11 kB / 341.5 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.01873, allocations: 20 kB / 341.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.01977, allocations: 0.7808 MB / 342.3 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0029/0.02267, allocations: 2.417 MB / 344.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.02331, allocations: 0.5066 MB / 345.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.02359, allocations: 210.3 kB / 345.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.02365, allocations: 28.47 kB / 345.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.02368, allocations: 35.06 kB / 345.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 2.495e-06/0.02368, allocations: 4 kB / 345.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003702/0.02738, allocations: 2.171 MB / 347.7 MB, free: 8.484 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.02742, allocations: 85.61 kB / 347.8 MB, free: 8.383 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.02765, allocations: 320.2 kB / 348.1 MB, free: 8.055 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.02768, allocations: 37.7 kB / 348.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.02783, allocations: 367.9 kB / 348.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.02793, allocations: 218.2 kB / 348.7 MB, free: 7.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.02808, allocations: 146.6 kB / 348.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.02816, allocations: 346.8 kB / 349.2 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.02856, allocations: 269.8 kB / 349.5 MB, free: 6.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007644/0.02933, allocations: 0.5303 MB / 350 MB, free: 6.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009198/0.03025, allocations: 0.8049 MB / 350.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.03025, allocations: 7.938 kB / 350.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001116/0.03137, allocations: 0.8971 MB / 351.7 MB, free: 4.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.03138, allocations: 8 kB / 351.7 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.03139, allocations: 8 kB / 351.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.03155, allocations: 69.8 kB / 351.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.03196, allocations: 195.7 kB / 352 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.03322, allocations: 2.661 MB / 354.6 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.0335, allocations: 63.91 kB / 354.7 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.03354, allocations: 35.98 kB / 354.7 MB, free: 0.9414 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.03372, allocations: 217.5 kB / 354.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.03377, allocations: 47.77 kB / 355 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.03478, allocations: 0.7258 MB / 355.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.03479, allocations: 4 kB / 355.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.03479, allocations: 0 / 355.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.03479, allocations: 4 kB / 355.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.03649, allocations: 1.302 MB / 357 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.03649, allocations: 0 / 357 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.0368, allocations: 135.8 kB / 357.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.649e-05/0.0369, allocations: 53.67 kB / 357.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.03692, allocations: 15.98 kB / 357.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.03802, allocations: 2.63 MB / 359.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03802, allocations: 0 / 359.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.03935, allocations: 1.082 MB / 360.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.03947, allocations: 91.67 kB / 361 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.0395, allocations: 11.94 kB / 361 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.03971, allocations: 43.95 kB / 361.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.03979, allocations: 52.47 kB / 361.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.03982, allocations: 19.98 kB / 361.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.03996, allocations: 207.1 kB / 361.4 MB, free: 9.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03996, allocations: 0 / 361.4 MB, free: 9.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004578/0.04042, allocations: 179.9 kB / 361.5 MB, free: 9.801 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001734/0.04216, allocations: 1.676 MB / 363.2 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.04351, allocations: 0.868 MB / 364.1 MB, free: 7.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.04351, allocations: 3.938 kB / 364.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.04403, allocations: 0.5245 MB / 364.6 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.04437, allocations: 43.64 kB / 364.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.04937, allocations: 5.042 MB / 369.7 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.04956, allocations: 282.6 kB / 370 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.04978, allocations: 88.61 kB / 370 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.05, allocations: 228.4 kB / 370.3 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of SimCode: time 6.42e-07/0.05, allocations: 0 / 370.3 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.07916, allocations: 12.32 MB / 382.6 MB, free: 4.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.026, allocations: 14.94 kB / 382.6 MB, free: 4.559 MB / 346.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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: 8.632109488360584]