Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001214/0.001214, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001403/0.001403, allocations: 211 kB / 23.73 MB, free: 4.523 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.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 47.92 kB / 377.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2702, allocations: 53.36 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005517/0.2758, allocations: 3.984 MB / 435.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.2788, allocations: 1.562 MB / 436.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.2792, allocations: 11.94 kB / 436.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.2795, allocations: 120.5 kB / 436.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008283/0.2803, allocations: 369.6 kB / 437.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.2808, allocations: 243.6 kB / 437.4 MB, free: 380 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2819, allocations: 0.9785 MB / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.2821, allocations: 166 kB / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.2826, allocations: 390.7 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.2832, allocations: 430.2 kB / 439.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.2833, allocations: 96 kB / 439.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003527/0.2836, allocations: 219.9 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.2838, allocations: 199.3 kB / 439.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.2842, allocations: 346.5 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2854, allocations: 1.179 MB / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2854, allocations: 0 / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2854, allocations: 0 / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.2854, allocations: 0 / 441.3 MB, free: 12.39 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002397/0.2878, allocations: 1.05 MB / 442.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2878, allocations: 12.03 kB / 442.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.2879, allocations: 98.64 kB / 442.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.2882, allocations: 92.45 kB / 442.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/0.289, allocations: 469.5 kB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.2891, allocations: 127 kB / 443.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.2893, allocations: 68.3 kB / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.2904, allocations: 0.7023 MB / 443.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2905, allocations: 0 / 443.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.2905, allocations: 24 kB / 443.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2905, allocations: 20 kB / 444 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.2917, allocations: 0.5204 MB / 444.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.295, allocations: 2.056 MB / 446.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/0.2959, allocations: 449.2 kB / 447 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.2965, allocations: 250 kB / 447.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.2965, allocations: 12 kB / 447.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2965, allocations: 42.5 kB / 447.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.693e-06/0.2965, allocations: 7.938 kB / 447.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.0134/0.3099, allocations: 3.321 MB / 450.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.31, allocations: 85.61 kB / 450.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.3107, allocations: 0.5448 MB / 451.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.3108, allocations: 41.7 kB / 451.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.311, allocations: 313 kB / 451.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.3112, allocations: 218.1 kB / 451.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.3115, allocations: 118.3 kB / 451.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3117, allocations: 370.8 kB / 452.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/0.3122, allocations: 245.2 kB / 452.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.3128, allocations: 352.5 kB / 452.8 MB, free: 484 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.3141, allocations: 0.5994 MB / 453.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3141, allocations: 4 kB / 453.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001592/0.3156, allocations: 0.7436 MB / 454.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3157, allocations: 4 kB / 454.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3157, allocations: 4 kB / 454.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.3158, allocations: 32.83 kB / 454.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/0.3167, allocations: 172 kB / 454.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.3178, allocations: 1.326 MB / 455.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.3184, allocations: 47.98 kB / 455.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.3185, allocations: 23.98 kB / 455.8 MB, free: 13.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003034/0.3188, allocations: 201.7 kB / 456 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.3189, allocations: 63.61 kB / 456.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.3208, allocations: 0.8358 MB / 456.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3208, allocations: 11.94 kB / 456.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.3208, allocations: 0 / 456.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3208, allocations: 3.984 kB / 456.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.3246, allocations: 1.671 MB / 458.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3246, allocations: 0 / 458.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.3251, allocations: 107.9 kB / 458.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002366/0.3275, allocations: 476 kB / 459.2 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.3275, allocations: 16 kB / 459.2 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005136/0.3327, allocations: 2.981 MB / 462.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3327, allocations: 3.938 kB / 462.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.3357, allocations: 1.366 MB / 463.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.336, allocations: 139.5 kB / 463.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/0.3361, allocations: 20 kB / 463.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000605/0.3367, allocations: 39.97 kB / 463.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.3368, allocations: 56.55 kB / 463.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.3369, allocations: 16 kB / 463.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004918/0.3374, allocations: 390.9 kB / 464.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3374, allocations: 0 / 464.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007017/0.3381, allocations: 192 kB / 464.4 MB, free: 4.586 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003489/0.3416, allocations: 1.957 MB / 466.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.3431, allocations: 0.6992 MB / 467 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3431, allocations: 0.625 kB / 467 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009201/0.344, allocations: 0.5099 MB / 467.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.3447, allocations: 96.86 kB / 467.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/0.3542, allocations: 5.933 MB / 473.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.3546, allocations: 303.2 kB / 473.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003358/0.3549, allocations: 76.78 kB / 473.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.3553, allocations: 239.3 kB / 474.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3553, allocations: 0 / 474.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05227/0.4076, allocations: 16.6 MB / 490.8 MB, free: 10.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.27, allocations: 7.125 kB / 490.8 MB, free: 10.21 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_fmu --startTime=0 --stopTime=0.1 --stepSize=2e-05 --timeout=50 --tolerance=0.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.839855902013369]