Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.0008695/0.0008695, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009256/0.0009256, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9763/0.9763, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.687e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003393/0.00342, allocations: 2.698 MB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.00507, allocations: 1.199 MB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.005216, allocations: 4 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.005473, allocations: 71.31 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004417/0.005914, allocations: 230.6 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.006111, allocations: 135.6 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.00645, allocations: 482.7 kB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.006599, allocations: 52.91 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.006908, allocations: 275.4 kB / 329.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.007109, allocations: 175.5 kB / 329.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.007157, allocations: 40 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.007352, allocations: 155.9 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.007414, allocations: 95.62 kB / 330.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.677e-05/0.00751, allocations: 139.7 kB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.00798, allocations: 0.5451 MB / 330.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.007982, allocations: 0 / 330.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.007983, allocations: 0 / 330.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.007989, allocations: 0 / 330.8 MB, free: 9.613 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001207/0.009196, allocations: 0.6414 MB / 331.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.009242, allocations: 15.98 kB / 331.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/0.009298, allocations: 58.73 kB / 331.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.009424, allocations: 44.73 kB / 331.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.009786, allocations: 286.6 kB / 331.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.303e-05/0.009869, allocations: 98.33 kB / 331.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.009972, allocations: 40.73 kB / 331.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.01038, allocations: 355.5 kB / 332.3 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01039, allocations: 0 / 332.3 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.01041, allocations: 12 kB / 332.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.01042, allocations: 4 kB / 332.3 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.01083, allocations: 293.8 kB / 332.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.01233, allocations: 1.046 MB / 333.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.01275, allocations: 285 kB / 333.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.01295, allocations: 145.7 kB / 334.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.01297, allocations: 15.94 kB / 334.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.013, allocations: 38.55 kB / 334.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.013, allocations: 0 / 334.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.004656/0.01766, allocations: 2.269 MB / 336.4 MB, free: 3.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.01771, allocations: 81.11 kB / 336.5 MB, free: 3.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.01797, allocations: 293.8 kB / 336.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.018, allocations: 33.7 kB / 336.8 MB, free: 3.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.01809, allocations: 168.7 kB / 337 MB, free: 3.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.01817, allocations: 154.7 kB / 337.1 MB, free: 3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.01827, allocations: 78.17 kB / 337.2 MB, free: 2.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01837, allocations: 342.8 kB / 337.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.01861, allocations: 160.9 kB / 337.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.01888, allocations: 231.2 kB / 337.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.01939, allocations: 407.6 kB / 338.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.0194, allocations: 0 / 338.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000815/0.02021, allocations: 0.4887 MB / 338.8 MB, free: 1.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.02023, allocations: 4 kB / 338.8 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.02024, allocations: 4 kB / 338.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.02025, allocations: 4 kB / 338.8 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.02054, allocations: 115.9 kB / 338.9 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.02055, allocations: 4 kB / 338.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.02072, allocations: 36 kB / 338.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.02074, allocations: 19.98 kB / 339 MB, free: 1.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.02086, allocations: 157.7 kB / 339.1 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.02092, allocations: 39.7 kB / 339.2 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.02193, allocations: 0.6424 MB / 339.8 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.02194, allocations: 11.98 kB / 339.8 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.02194, allocations: 3.938 kB / 339.8 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02195, allocations: 0 / 339.8 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.02366, allocations: 1.179 MB / 341 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.02367, allocations: 3.984 kB / 341 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.02388, allocations: 87.89 kB / 341.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000751/0.02463, allocations: 272.5 kB / 341.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.02466, allocations: 12 kB / 341.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.02696, allocations: 2.309 MB / 343.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02696, allocations: 0 / 343.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.02825, allocations: 1.002 MB / 344.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.02835, allocations: 67.8 kB / 344.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.02839, allocations: 12 kB / 344.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.02858, allocations: 31.97 kB / 344.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.02869, allocations: 44.36 kB / 344.8 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.02871, allocations: 12 kB / 344.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.02887, allocations: 217.2 kB / 345.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02887, allocations: 0 / 345.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.02927, allocations: 111.9 kB / 345.2 MB, free: 10.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001923/0.0312, allocations: 1.593 MB / 346.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005721/0.03177, allocations: 414.9 kB / 347.2 MB, free: 8.633 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.03177, allocations: 3.938 kB / 347.2 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004607/0.03223, allocations: 365.4 kB / 347.5 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.03262, allocations: 37.05 kB / 347.6 MB, free: 8.223 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.03644, allocations: 3.756 MB / 351.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.03658, allocations: 183.1 kB / 351.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.0367, allocations: 42.95 kB / 351.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.03686, allocations: 116.4 kB / 351.6 MB, free: 3.984 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03686, allocations: 0 / 351.6 MB, free: 3.984 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.0619, allocations: 10.26 MB / 361.9 MB, free: 9.867 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.088, allocations: 11.33 kB / 361.9 MB, free: 9.859 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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: 10.01567159499973]