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.001825/0.001825, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 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.001963/0.001963, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 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 1.504/1.504, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001881/0.001881, allocations: 59.89 kB / 373.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1046, allocations: 53.33 MB / 426.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004372/0.109, allocations: 2.83 MB / 429.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1104, allocations: 0.7905 MB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1106, allocations: 8 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.1108, allocations: 67.42 kB / 430.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.111, allocations: 95.19 kB / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1113, allocations: 107.9 kB / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.1117, allocations: 394.5 kB / 430.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.1119, allocations: 98.92 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.1122, allocations: 159.4 kB / 431.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1124, allocations: 163.3 kB / 431.4 MB, free: 368 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.1125, allocations: 32 kB / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.1125, allocations: 39.94 kB / 431.4 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.1126, allocations: 75.69 kB / 431.5 MB, free: 220 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1128, allocations: 179.1 kB / 431.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1982/0.311, allocations: 392.2 kB / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.311, allocations: 1.344 kB / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.311, allocations: 3.719 kB / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.311, allocations: 0 / 432.1 MB, free: 8.055 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001126/0.3121, allocations: 0.65 MB / 432.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3122, allocations: 10.22 kB / 432.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.723e-05/0.3122, allocations: 66.36 kB / 432.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.3123, allocations: 39.02 kB / 432.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3126, allocations: 279 kB / 433.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.3127, allocations: 25.69 kB / 433.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.3127, allocations: 32.25 kB / 433.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.3133, allocations: 290.7 kB / 433.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3133, allocations: 4.031 kB / 433.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.3133, allocations: 11.69 kB / 433.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3133, allocations: 8.062 kB / 433.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005486/0.3139, allocations: 254 kB / 433.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.3152, allocations: 1.101 MB / 434.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.3156, allocations: 153 kB / 435 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.3157, allocations: 62.41 kB / 435 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3158, allocations: 2.516 kB / 435 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3158, allocations: 35.75 kB / 435.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.3158, allocations: 2.625 kB / 435.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001832/0.3176, allocations: 0.5964 MB / 435.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.3176, allocations: 56.34 kB / 435.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.3179, allocations: 275.9 kB / 436 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3179, allocations: 29.64 kB / 436 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3181, allocations: 233.1 kB / 436.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.3181, allocations: 79.12 kB / 436.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3182, allocations: 69.33 kB / 436.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.3183, allocations: 336.8 kB / 436.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.3185, allocations: 94.7 kB / 436.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.3188, allocations: 195.6 kB / 437 MB, free: 5.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.3194, allocations: 306.2 kB / 437.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3194, allocations: 1.219 kB / 437.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008042/0.3202, allocations: 389 kB / 437.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3202, allocations: 6.969 kB / 437.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3202, allocations: 5.844 kB / 437.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002567/0.3205, allocations: 62.25 kB / 437.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.3208, allocations: 77.44 kB / 437.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.3222, allocations: 2.834 MB / 440.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.3225, allocations: 25.36 kB / 440.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.3225, allocations: 14.05 kB / 440.7 MB, free: 2.684 MB / 350.1 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.0001287/0.3226, allocations: 157 kB / 440.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.3227, allocations: 26.67 kB / 440.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.3228, allocations: 32.11 kB / 440.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3228, allocations: 4.203 kB / 440.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.3228, allocations: 2.688 kB / 440.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3228, allocations: 1.312 kB / 440.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.3231, allocations: 333 kB / 441.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3231, allocations: 4 kB / 441.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.3233, allocations: 40.22 kB / 441.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001371/0.3235, allocations: 53.38 kB / 441.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3235, allocations: 5.391 kB / 441.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.325, allocations: 2.83 MB / 444.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.325, allocations: 3.625 kB / 444.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.3259, allocations: 374.3 kB / 444.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.326, allocations: 104.8 kB / 444.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.326, allocations: 2.047 kB / 444.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.3262, allocations: 20.66 kB / 444.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.3263, allocations: 22.12 kB / 444.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3263, allocations: 4.25 kB / 444.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.3265, allocations: 187.8 kB / 444.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3265, allocations: 0.9688 kB / 444.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004188/0.327, allocations: 74.44 kB / 444.9 MB, free: 15.11 MB / 366.1 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.001072/0.328, allocations: 0.9087 MB / 445.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.329, allocations: 471.4 kB / 446.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.329, allocations: 6.875 kB / 446.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.3295, allocations: 344.6 kB / 446.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.3298, allocations: 30.41 kB / 446.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.3347, allocations: 2.963 MB / 449.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.3351, allocations: 0.7723 MB / 450.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.3353, allocations: 29.64 kB / 450.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3354, allocations: 101.7 kB / 450.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3354, allocations: 0 / 450.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04793/0.3834, allocations: 5.664 MB / 456.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.92, allocations: 12.94 kB / 456.2 MB, free: 10.28 MB / 366.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.508398286998272]