Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001589/0.001589, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001385/0.001385, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 47.92 kB / 378.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 53.36 MB / 431.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006332/0.2508, allocations: 5.138 MB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.2546, allocations: 2.191 MB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.2548, allocations: 16 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.2577, allocations: 1.411 MB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009576/0.2586, allocations: 429.3 kB / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.2607, allocations: 1.227 MB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007963/0.2615, allocations: 0.7451 MB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007793/0.2623, allocations: 0.575 MB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.2627, allocations: 350.8 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.2632, allocations: 438.3 kB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.2633, allocations: 68 kB / 444.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.264, allocations: 407.6 kB / 444.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.2641, allocations: 163.4 kB / 445.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.2645, allocations: 386.1 kB / 445.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.2658, allocations: 1.223 MB / 446.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2658, allocations: 0 / 446.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2658, allocations: 0 / 446.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.2658, allocations: 0 / 446.7 MB, free: 8.07 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004055/0.2699, allocations: 1.409 MB / 448.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.2699, allocations: 11.97 kB / 448.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.775e-05/0.2699, allocations: 34.17 kB / 448.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.2701, allocations: 131.4 kB / 448.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.2726, allocations: 360.1 kB / 448.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.2728, allocations: 205.6 kB / 448.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.94e-05/0.2729, allocations: 62.38 kB / 448.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.273, allocations: 87.94 kB / 448.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2746, allocations: 0.868 MB / 449.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.2746, allocations: 11.89 kB / 449.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.2747, allocations: 32 kB / 449.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.2747, allocations: 20 kB / 449.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.2766, allocations: 0.7925 MB / 450.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004294/0.2809, allocations: 2.775 MB / 453.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.282, allocations: 0.5152 MB / 454 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.2825, allocations: 218.2 kB / 454.2 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.662e-05/0.2826, allocations: 28.45 kB / 454.2 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2826, allocations: 39.06 kB / 454.2 MB, free: 240 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.743e-06/0.2826, allocations: 0 / 454.2 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006998/0.2896, allocations: 2.171 MB / 456.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.2897, allocations: 85.61 kB / 456.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.29, allocations: 320.4 kB / 456.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.2901, allocations: 33.7 kB / 456.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.2903, allocations: 371.9 kB / 457.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.2905, allocations: 230 kB / 457.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.2907, allocations: 142.6 kB / 457.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2909, allocations: 354.7 kB / 457.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.2916, allocations: 269.8 kB / 458.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000917/0.2925, allocations: 0.5004 MB / 458.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.2942, allocations: 0.8088 MB / 459.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2942, allocations: 4 kB / 459.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00207/0.2963, allocations: 0.9088 MB / 460.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2963, allocations: 8 kB / 460.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.2963, allocations: 8 kB / 460.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.2966, allocations: 73.7 kB / 460.5 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008203/0.2974, allocations: 199.7 kB / 460.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.2995, allocations: 2.661 MB / 463.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.3001, allocations: 55.95 kB / 463.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/0.3002, allocations: 39.98 kB / 463.4 MB, free: 6.484 MB / 366.1 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.0003437/0.3005, allocations: 217.7 kB / 463.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3006, allocations: 47.66 kB / 463.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.3025, allocations: 0.7258 MB / 464.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3026, allocations: 8 kB / 464.4 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3026, allocations: 7.875 kB / 464.4 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3026, allocations: 3.984 kB / 464.4 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.3052, allocations: 1.383 MB / 465.8 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3052, allocations: 0 / 465.8 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/0.3059, allocations: 139.8 kB / 466 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.3061, allocations: 57.67 kB / 466 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.3061, allocations: 15.98 kB / 466 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.3081, allocations: 2.645 MB / 468.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3081, allocations: 3.938 kB / 468.7 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.3107, allocations: 1.082 MB / 469.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.3109, allocations: 83.64 kB / 469.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.3109, allocations: 12 kB / 469.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.3114, allocations: 48.02 kB / 469.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3115, allocations: 48.41 kB / 469.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.3115, allocations: 19.98 kB / 470 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.3118, allocations: 215.1 kB / 470.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3118, allocations: 0 / 470.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007149/0.3125, allocations: 180 kB / 470.3 MB, free: 15.23 MB / 382.1 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.003017/0.3155, allocations: 1.688 MB / 472 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.3175, allocations: 0.877 MB / 472.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3175, allocations: 0 / 472.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.3185, allocations: 0.5235 MB / 473.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.3191, allocations: 45.16 kB / 473.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00965/0.3287, allocations: 5.154 MB / 478.6 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.3292, allocations: 0.8771 MB / 479.5 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003606/0.3296, allocations: 88.5 kB / 479.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.3299, allocations: 227.3 kB / 479.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3299, allocations: 4 kB / 479.8 MB, free: 5.352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4256/0.7556, allocations: 12.07 MB / 491.9 MB, free: 9.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.24, allocations: 0 / 491.9 MB, free: 9.473 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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: 18.56585257401457]