Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.005661/0.005661, allocations: 100.4 kB / 21.96 MB, free: 5.207 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.001406/0.001406, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 53.81 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2589, allocations: 49.16 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003704/0.2626, allocations: 2.592 MB / 399.7 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.2644, allocations: 1.195 MB / 400.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.2646, allocations: 3.156 kB / 400.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.2648, allocations: 66.19 kB / 401 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005261/0.2654, allocations: 229.1 kB / 401.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.2656, allocations: 124 kB / 401.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.2661, allocations: 457.1 kB / 401.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.2662, allocations: 65.88 kB / 401.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.2664, allocations: 194 kB / 402 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.2667, allocations: 222.1 kB / 402.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.717e-05/0.2668, allocations: 41.03 kB / 402.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.2671, allocations: 158.1 kB / 402.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.2672, allocations: 96.2 kB / 402.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.2673, allocations: 154 kB / 402.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005634/0.2679, allocations: 0.5096 MB / 403.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2679, allocations: 0 / 403.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2679, allocations: 6.406 kB / 403.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.2679, allocations: 3.938 kB / 403.2 MB, free: 5.289 MB / 318.1 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.001459/0.2694, allocations: 0.6344 MB / 403.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2694, allocations: 13.52 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.37e-05/0.2694, allocations: 11.34 kB / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.2695, allocations: 66.08 kB / 403.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.2695, allocations: 35.56 kB / 404 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.2699, allocations: 264.7 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/0.27, allocations: 106.5 kB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.2702, allocations: 49.83 kB / 404.4 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.2708, allocations: 347 kB / 404.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2708, allocations: 0 / 404.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.2708, allocations: 11.44 kB / 404.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.2708, allocations: 9.5 kB / 404.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.2715, allocations: 302.4 kB / 405 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.2732, allocations: 1.05 MB / 406.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.2738, allocations: 276.8 kB / 406.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.2741, allocations: 154.6 kB / 406.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.2741, allocations: 4.422 kB / 406.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2741, allocations: 44.34 kB / 406.5 MB, free: 3.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 3.085e-06/0.2741, allocations: 4 kB / 406.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009262/0.2834, allocations: 2.262 MB / 408.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.2834, allocations: 86.41 kB / 408.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.2838, allocations: 293.8 kB / 409.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2838, allocations: 31.67 kB / 409.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.2839, allocations: 172.4 kB / 409.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.284, allocations: 150.1 kB / 409.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.2841, allocations: 83.48 kB / 409.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.2842, allocations: 343.3 kB / 409.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.2845, allocations: 158.4 kB / 410.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.2849, allocations: 231.8 kB / 410.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007316/0.2857, allocations: 411.5 kB / 410.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2857, allocations: 0 / 410.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000946/0.2866, allocations: 491.3 kB / 411.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2866, allocations: 9.5 kB / 411.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2866, allocations: 2.719 kB / 411.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.2867, allocations: 2.469 kB / 411.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.2873, allocations: 121.6 kB / 411.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2873, allocations: 4.5 kB / 411.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.2877, allocations: 29.55 kB / 411.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.2877, allocations: 23.27 kB / 411.4 MB, free: 0.6797 MB / 318.1 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.0001543/0.2879, allocations: 152.9 kB / 411.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/0.288, allocations: 30.69 kB / 411.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.2897, allocations: 0.6508 MB / 412.2 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2897, allocations: 9.594 kB / 412.2 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2897, allocations: 1.344 kB / 412.2 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2897, allocations: 3.984 kB / 412.2 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.2927, allocations: 1.172 MB / 413.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2928, allocations: 1.156 kB / 413.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.2932, allocations: 87.66 kB / 413.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.2948, allocations: 266.8 kB / 413.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.2948, allocations: 15.3 kB / 413.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004122/0.299, allocations: 2.304 MB / 416.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.299, allocations: 1.156 kB / 416.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.3013, allocations: 1.009 MB / 417.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.3015, allocations: 73.78 kB / 417.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.3016, allocations: 11.28 kB / 417.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.302, allocations: 31.34 kB / 417.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3022, allocations: 40.48 kB / 417.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.3022, allocations: 17.42 kB / 417.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002479/0.3024, allocations: 209.4 kB / 417.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3024, allocations: 1 kB / 417.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006128/0.3031, allocations: 121.2 kB / 417.6 MB, free: 12.32 MB / 334.1 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.002812/0.3059, allocations: 1.588 MB / 419.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.3069, allocations: 406.3 kB / 419.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3069, allocations: 1.344 kB / 419.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007333/0.3076, allocations: 369.4 kB / 419.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.3081, allocations: 34.27 kB / 420 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.314, allocations: 3.857 MB / 423.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.3142, allocations: 183.1 kB / 424 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.3144, allocations: 38.95 kB / 424 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.3147, allocations: 115.4 kB / 424.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3147, allocations: 0 / 424.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.3516, allocations: 9.775 MB / 433.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.91, allocations: 12.02 kB / 433.9 MB, free: 13.52 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.417095444048755]