Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.0008044/0.0008044, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.000883/0.000883, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.8931/0.8931, allocations: 177 MB / 204.1 MB, free: 5.773 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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.64e-05, allocations: 3.266 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003406/0.003432, allocations: 2.65 MB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.00479, allocations: 0.7554 MB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.004953, allocations: 8 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.005152, allocations: 67.38 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.005384, allocations: 107.1 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.005589, allocations: 103.8 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.005999, allocations: 394.4 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.006166, allocations: 99.06 kB / 328.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.006485, allocations: 235.4 kB / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.006627, allocations: 123.6 kB / 329 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.00667, allocations: 36 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.899e-05/0.006709, allocations: 32 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.006755, allocations: 79.67 kB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.00684, allocations: 115.7 kB / 329.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.007146, allocations: 406.6 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.00715, allocations: 4 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.007151, allocations: 0 / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.007158, allocations: 0 / 329.7 MB, free: 10.71 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007378/0.007895, allocations: 0.5675 MB / 330.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.007937, allocations: 15.98 kB / 330.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.007991, allocations: 66.72 kB / 330.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.00804, allocations: 40.7 kB / 330.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.008335, allocations: 222.1 kB / 330.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.008358, allocations: 25.03 kB / 330.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.008393, allocations: 32.38 kB / 330.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.008778, allocations: 290.6 kB / 330.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.008788, allocations: 192 / 330.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.008809, allocations: 16.12 kB / 331 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.008816, allocations: 8 kB / 331 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.009173, allocations: 250.5 kB / 331.2 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.01023, allocations: 0.9215 MB / 332.1 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.01047, allocations: 145.4 kB / 332.3 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.01058, allocations: 60.81 kB / 332.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.0106, allocations: 8 kB / 332.3 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.01062, allocations: 38.5 kB / 332.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.205e-06/0.01062, allocations: 0 / 332.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001174/0.0118, allocations: 0.595 MB / 333 MB, free: 7.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.01183, allocations: 63.28 kB / 333 MB, free: 7.176 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.01202, allocations: 273.8 kB / 333.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.01204, allocations: 25.7 kB / 333.3 MB, free: 6.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01214, allocations: 232.1 kB / 333.5 MB, free: 6.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.01218, allocations: 83.25 kB / 333.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.01225, allocations: 65.66 kB / 333.7 MB, free: 6.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.01233, allocations: 342.8 kB / 334 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.01249, allocations: 95.92 kB / 334.1 MB, free: 6.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.01268, allocations: 192.1 kB / 334.3 MB, free: 5.812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.01303, allocations: 305.1 kB / 334.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01303, allocations: 4 kB / 334.6 MB, free: 5.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004926/0.01353, allocations: 393.1 kB / 335 MB, free: 5.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.01355, allocations: 8 kB / 335 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.01355, allocations: 0 / 335 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.01373, allocations: 61.98 kB / 335.1 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.01391, allocations: 79.83 kB / 335.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.01537, allocations: 2.607 MB / 337.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.01549, allocations: 36.03 kB / 337.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.01551, allocations: 12 kB / 337.8 MB, free: 2.039 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001069/0.01561, allocations: 149.7 kB / 337.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.01564, allocations: 23.81 kB / 338 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.01569, allocations: 34.27 kB / 338 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01569, allocations: 4 kB / 338 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.0157, allocations: 0 / 338 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.0157, allocations: 4 kB / 338 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.01593, allocations: 276.5 kB / 338.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01593, allocations: 4 kB / 338.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.01603, allocations: 43.97 kB / 338.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-05/0.01613, allocations: 49.62 kB / 338.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01614, allocations: 15.98 kB / 338.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.0173, allocations: 2.603 MB / 341 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.0173, allocations: 4.031 kB / 341 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.0177, allocations: 371.9 kB / 341.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.01772, allocations: 23.81 kB / 341.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.01774, allocations: 11.92 kB / 341.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.01783, allocations: 15.92 kB / 341.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.01788, allocations: 23.91 kB / 341.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.01789, allocations: 8 kB / 341.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.01802, allocations: 185.2 kB / 341.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01802, allocations: 0 / 341.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.01828, allocations: 76 kB / 341.7 MB, free: 13.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.0007273/0.019, allocations: 0.9051 MB / 342.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.01955, allocations: 472.9 kB / 343.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01955, allocations: 0.8125 kB / 343.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.0198, allocations: 346.3 kB / 343.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.02006, allocations: 36.41 kB / 343.4 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.0227, allocations: 2.955 MB / 346.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.02281, allocations: 168.8 kB / 346.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.37e-05/0.02289, allocations: 26.3 kB / 346.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.02301, allocations: 104.5 kB / 346.7 MB, free: 8.566 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02301, allocations: 4 kB / 346.7 MB, free: 8.562 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.04933, allocations: 6.389 MB / 353.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.167, allocations: 3.859 kB / 353.1 MB, free: 2.289 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.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.817755280993879]