Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001528/0.001528, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001711/0.001711, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.48/1.48, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 59.91 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1102, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004605/0.1148, allocations: 2.795 MB / 429.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1167, allocations: 0.9462 MB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.1168, allocations: 4 kB / 430.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1171, allocations: 67.48 kB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.1174, allocations: 111.2 kB / 430.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1177, allocations: 107.8 kB / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.1181, allocations: 358.6 kB / 431 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1183, allocations: 81.62 kB / 431.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.1186, allocations: 135.5 kB / 431.2 MB, free: 384 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1188, allocations: 159.3 kB / 431.4 MB, free: 224 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.1188, allocations: 32 kB / 431.4 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-05/0.1189, allocations: 32 kB / 431.5 MB, free: 160 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.119, allocations: 63.77 kB / 431.5 MB, free: 96 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2247/0.3437, allocations: 156.7 kB / 431.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.3443, allocations: 369 kB / 432 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3443, allocations: 0 / 432 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3443, allocations: 0.5625 kB / 432 MB, free: 7.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3443, allocations: 0 / 432 MB, free: 7.953 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.001019/0.3454, allocations: 0.6171 MB / 432.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.3454, allocations: 10.61 kB / 432.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.722e-05/0.3455, allocations: 63.19 kB / 432.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.3457, allocations: 42.39 kB / 432.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.3461, allocations: 274.3 kB / 433 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3461, allocations: 20.19 kB / 433.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.3461, allocations: 28.06 kB / 433.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.3466, allocations: 249.2 kB / 433.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3466, allocations: 0 / 433.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.3467, allocations: 12.78 kB / 433.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.3467, allocations: 6.469 kB / 433.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.3471, allocations: 215.1 kB / 433.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.3485, allocations: 0.9987 MB / 434.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.3489, allocations: 193 kB / 434.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.3491, allocations: 102.4 kB / 434.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.3492, allocations: 3.797 kB / 434.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3492, allocations: 40.66 kB / 434.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.322e-06/0.3492, allocations: 0 / 434.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005043/0.3542, allocations: 1.547 MB / 436.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.3543, allocations: 59.56 kB / 436.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.3547, allocations: 229.8 kB / 436.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3547, allocations: 30.7 kB / 436.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3549, allocations: 187.6 kB / 436.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.355, allocations: 125.7 kB / 437 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.3551, allocations: 63.38 kB / 437.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3553, allocations: 338.8 kB / 437.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.3555, allocations: 114.4 kB / 437.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.3559, allocations: 160.1 kB / 437.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.3564, allocations: 286.1 kB / 438 MB, free: 5.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3564, allocations: 0.9062 kB / 438 MB, free: 5.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001601/0.358, allocations: 0.5268 MB / 438.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.358, allocations: 6.25 kB / 438.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.358, allocations: 1 kB / 438.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.3594, allocations: 246 kB / 438.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.3596, allocations: 59.02 kB / 438.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005399/0.365, allocations: 4.146 MB / 443 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.3654, allocations: 12.53 kB / 443 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.3655, allocations: 13.88 kB / 443 MB, free: 1.582 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.0002726/0.3657, allocations: 151.2 kB / 443.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.3658, allocations: 25.3 kB / 443.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.3659, allocations: 39.58 kB / 443.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3659, allocations: 7.312 kB / 443.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/0.366, allocations: 2.922 kB / 443.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.366, allocations: 1.359 kB / 443.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.3684, allocations: 0.9815 MB / 444.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3684, allocations: 1.031 kB / 444.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.3687, allocations: 48.16 kB / 444.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.37, allocations: 236.5 kB / 444.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.37, allocations: 6.188 kB / 444.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005241/0.3752, allocations: 4.13 MB / 448.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3752, allocations: 1.438 kB / 448.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.3772, allocations: 0.7186 MB / 449.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.3773, allocations: 103.1 kB / 449.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.3773, allocations: 18.91 kB / 449.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3776, allocations: 12.48 kB / 449.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3777, allocations: 29.31 kB / 449.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.3777, allocations: 9.703 kB / 449.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002146/0.3779, allocations: 169.6 kB / 449.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 449.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006823/0.3786, allocations: 104.1 kB / 449.8 MB, free: 12.55 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.002321/0.3809, allocations: 1.282 MB / 451.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.3822, allocations: 0.5523 MB / 451.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3822, allocations: 1.312 kB / 451.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.3829, allocations: 421.8 kB / 452 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3833, allocations: 21.28 kB / 452 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007286/0.3906, allocations: 3.372 MB / 455.4 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.3911, allocations: 0.7783 MB / 456.2 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.3912, allocations: 23.33 kB / 456.2 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.3914, allocations: 95.09 kB / 456.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of SimCode: time 1.173e-06/0.3914, allocations: 5.188 kB / 456.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04505/0.4365, allocations: 8.567 MB / 464.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.11, allocations: 3.594 kB / 464.9 MB, free: 5.348 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.89862990193069]