Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 191.4 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 43.94 kB / 371.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2543, allocations: 52.19 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004307/0.2586, allocations: 2.585 MB / 425.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2601, allocations: 0.8139 MB / 426.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.2603, allocations: 7.938 kB / 426.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.2605, allocations: 51.5 kB / 426.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.2609, allocations: 103.2 kB / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.2612, allocations: 111.7 kB / 427 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.2616, allocations: 350.6 kB / 427.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.2618, allocations: 73.98 kB / 427.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.262, allocations: 139.5 kB / 427.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.2622, allocations: 155.3 kB / 427.7 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.2622, allocations: 32 kB / 427.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.2623, allocations: 28 kB / 427.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.2624, allocations: 63.77 kB / 427.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.2625, allocations: 127.5 kB / 428 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.2629, allocations: 374.4 kB / 428.3 MB, free: 9.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2629, allocations: 0 / 428.3 MB, free: 9.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2629, allocations: 0 / 428.3 MB, free: 9.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.263, allocations: 0 / 428.3 MB, free: 9.371 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00106/0.264, allocations: 0.5325 MB / 428.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2641, allocations: 8.031 kB / 428.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/0.2641, allocations: 8.844 kB / 428.9 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.699e-05/0.2641, allocations: 62.72 kB / 428.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.2642, allocations: 36.75 kB / 429 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.2646, allocations: 205.9 kB / 429.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.2646, allocations: 25.03 kB / 429.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.2647, allocations: 24.38 kB / 429.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.2652, allocations: 279.7 kB / 429.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2652, allocations: 4 kB / 429.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.2652, allocations: 12 kB / 429.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2653, allocations: 8 kB / 429.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.2657, allocations: 210.5 kB / 429.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.2673, allocations: 0.8587 MB / 430.6 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.2678, allocations: 189 kB / 430.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.268, allocations: 100.8 kB / 430.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.2681, allocations: 0 / 430.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2681, allocations: 38.59 kB / 430.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.2681, allocations: 0 / 430.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.005162/0.2732, allocations: 1.392 MB / 432.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.2733, allocations: 67.14 kB / 432.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.2735, allocations: 232.9 kB / 432.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.2736, allocations: 33.7 kB / 432.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2737, allocations: 184.5 kB / 432.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.2738, allocations: 126.9 kB / 432.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.274, allocations: 66.02 kB / 433 MB, free: 4.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2741, allocations: 338.8 kB / 433.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.2744, allocations: 108.7 kB / 433.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.2747, allocations: 157.5 kB / 433.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.2752, allocations: 288 kB / 433.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2752, allocations: 0 / 433.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001592/0.2768, allocations: 0.5257 MB / 434.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2768, allocations: 7.984 kB / 434.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2768, allocations: 7.984 kB / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.2781, allocations: 237.5 kB / 434.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.2783, allocations: 59.91 kB / 434.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00524/0.2836, allocations: 3.892 MB / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.2838, allocations: 8 kB / 438.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.2839, allocations: 15.98 kB / 438.6 MB, free: 14.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002112/0.2841, allocations: 157.8 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.2841, allocations: 27.86 kB / 438.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.396e-05/0.2842, allocations: 38.95 kB / 438.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2842, allocations: 4 kB / 438.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.2842, allocations: 0 / 438.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2843, allocations: 4 kB / 438.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.2864, allocations: 0.9071 MB / 439.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2864, allocations: 7.984 kB / 439.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.2866, allocations: 44.05 kB / 439.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.2878, allocations: 237.4 kB / 440 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.2878, allocations: 4 kB / 440 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005094/0.2929, allocations: 3.888 MB / 443.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.2929, allocations: 4.031 kB / 443.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.2948, allocations: 0.7209 MB / 444.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.2949, allocations: 31.89 kB / 444.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.2949, allocations: 8 kB / 444.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.2951, allocations: 23.86 kB / 444.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2952, allocations: 31.94 kB / 444.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.2953, allocations: 12 kB / 444.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.2955, allocations: 164.5 kB / 444.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2955, allocations: 0 / 444.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006473/0.2961, allocations: 100 kB / 445 MB, free: 7.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002205/0.2983, allocations: 1.264 MB / 446.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.2994, allocations: 0.5517 MB / 446.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2994, allocations: 4.312 kB / 446.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.3, allocations: 421.1 kB / 447.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3004, allocations: 24.44 kB / 447.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/0.3068, allocations: 3.34 MB / 450.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.307, allocations: 172.2 kB / 450.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.347e-05/0.3071, allocations: 18.48 kB / 450.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.3072, allocations: 95.52 kB / 450.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3072, allocations: 7.875 kB / 450.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04254/0.3498, allocations: 8.984 MB / 459.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.39, allocations: 12.95 kB / 459.9 MB, free: 8.891 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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: 15.926138384034857]