Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.00157/0.00157, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.001792/0.001792, allocations: 200.3 kB / 20.74 MB, free: 2.344 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.543/1.543, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1276, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004496/0.1321, allocations: 2.787 MB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1338, allocations: 0.9617 MB / 430.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1339, allocations: 8 kB / 430.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.1342, allocations: 63.44 kB / 430.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.1345, allocations: 103.2 kB / 430.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1348, allocations: 115.8 kB / 430.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000423/0.1353, allocations: 354.6 kB / 430.7 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1355, allocations: 77.69 kB / 430.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.1357, allocations: 143.5 kB / 430.9 MB, free: 176 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.136, allocations: 159.2 kB / 431.1 MB, free: 16 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2281/0.364, allocations: 26.42 kB / 431.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.3642, allocations: 31.72 kB / 431.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.3643, allocations: 68.12 kB / 431.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.3645, allocations: 157.2 kB / 431.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005598/0.365, allocations: 366.5 kB / 431.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.365, allocations: 1.906 kB / 431.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.365, allocations: 1.5 kB / 431.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.365, allocations: 2.5 kB / 431.7 MB, free: 7.875 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009443/0.366, allocations: 0.6172 MB / 432.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.366, allocations: 9.438 kB / 432.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.3661, allocations: 64.86 kB / 432.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.3662, allocations: 42.53 kB / 432.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3666, allocations: 272.7 kB / 432.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.3666, allocations: 21.5 kB / 432.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.3667, allocations: 29.16 kB / 432.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.3672, allocations: 251.7 kB / 433 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3672, allocations: 1.156 kB / 433 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.3672, allocations: 9.781 kB / 433 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3672, allocations: 8.938 kB / 433 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.3676, allocations: 209.9 kB / 433.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.369, allocations: 0.9973 MB / 434.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.3695, allocations: 196 kB / 434.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.3697, allocations: 98.38 kB / 434.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3697, allocations: 5.938 kB / 434.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3698, allocations: 32.72 kB / 434.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/0.3698, allocations: 0 / 434.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005121/0.3749, allocations: 1.549 MB / 436.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3749, allocations: 60.62 kB / 436.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.3752, allocations: 234.6 kB / 436.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3752, allocations: 31.86 kB / 436.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.3753, allocations: 194.9 kB / 436.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.3754, allocations: 128.3 kB / 436.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3755, allocations: 63.52 kB / 436.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.3755, allocations: 335.9 kB / 437.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3758, allocations: 115.6 kB / 437.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.376, allocations: 157.2 kB / 437.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.3765, allocations: 284.5 kB / 437.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3765, allocations: 1.531 kB / 437.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00153/0.3781, allocations: 0.5331 MB / 438.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3781, allocations: 4.844 kB / 438.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3781, allocations: 1.766 kB / 438.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3793, allocations: 243.2 kB / 438.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.3796, allocations: 59.42 kB / 438.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/0.3838, allocations: 4.138 MB / 442.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.3841, allocations: 17.94 kB / 442.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.3841, allocations: 9.547 kB / 442.7 MB, free: 1.441 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.000168/0.3843, allocations: 156.7 kB / 442.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.3844, allocations: 25.05 kB / 442.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.3845, allocations: 42.92 kB / 442.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3845, allocations: 4.188 kB / 442.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.3845, allocations: 1.594 kB / 442.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3845, allocations: 3.828 kB / 442.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.3866, allocations: 0.9801 MB / 443.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.3866, allocations: 1.219 kB / 443.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.3868, allocations: 42.48 kB / 443.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.388, allocations: 239 kB / 444.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.3881, allocations: 7.062 kB / 444.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005043/0.3931, allocations: 4.128 MB / 448.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3931, allocations: 1.188 kB / 448.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.3951, allocations: 0.7185 MB / 449 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.3953, allocations: 107.5 kB / 449.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.3953, allocations: 10.22 kB / 449.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3956, allocations: 17.7 kB / 449.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3957, allocations: 34.73 kB / 449.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.3957, allocations: 11.67 kB / 449.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.3959, allocations: 165.8 kB / 449.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3959, allocations: 1.094 kB / 449.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007008/0.3966, allocations: 103.3 kB / 449.4 MB, free: 12.41 MB / 366.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.002347/0.399, allocations: 1.275 MB / 450.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4002, allocations: 0.5565 MB / 451.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4002, allocations: 0 / 451.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006884/0.4008, allocations: 419 kB / 451.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.4012, allocations: 25.94 kB / 451.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/0.408, allocations: 3.36 MB / 455.1 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.4084, allocations: 0.7821 MB / 455.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.4086, allocations: 16.34 kB / 455.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.4087, allocations: 102.1 kB / 456 MB, free: 7.934 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4087, allocations: 0 / 456 MB, free: 7.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06899/0.4777, allocations: 8.572 MB / 464.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.04, allocations: 1.188 kB / 464.5 MB, free: 5.191 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.671179197030142]