Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001327/0.001327, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.00143/0.00143, allocations: 215 kB / 24.47 MB, free: 3.777 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.444/1.444, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",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.002025/0.002025, allocations: 52.34 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2971, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004845/0.3019, allocations: 3.886 MB / 400.2 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.3045, allocations: 1.555 MB / 401.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003591/0.3049, allocations: 12.03 kB / 401.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.3053, allocations: 128.7 kB / 401.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008023/0.3061, allocations: 360.2 kB / 402.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.3065, allocations: 240.3 kB / 402.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008076/0.3073, allocations: 0.9746 MB / 403.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.3076, allocations: 153.6 kB / 403.6 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.3081, allocations: 391.8 kB / 404 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.3085, allocations: 377.9 kB / 404.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.3087, allocations: 95.78 kB / 404.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.3091, allocations: 210.5 kB / 404.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.3092, allocations: 194.5 kB / 404.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.3095, allocations: 346.4 kB / 405.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.3111, allocations: 1.177 MB / 406.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3111, allocations: 0 / 406.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3111, allocations: 7.938 kB / 406.4 MB, free: 3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.3111, allocations: 4.547 kB / 406.4 MB, free: 2.996 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002441/0.3135, allocations: 1.033 MB / 407.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3136, allocations: 14.36 kB / 407.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.3137, allocations: 96.94 kB / 407.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3138, allocations: 79.72 kB / 407.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/0.3147, allocations: 474.5 kB / 408.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.3147, allocations: 130.5 kB / 408.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.3149, allocations: 69.89 kB / 408.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.316, allocations: 0.7089 MB / 409 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.316, allocations: 5.656 kB / 409 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.3161, allocations: 20.12 kB / 409 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.3161, allocations: 14.06 kB / 409 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3171, allocations: 0.5255 MB / 409.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003167/0.3203, allocations: 2.053 MB / 411.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3213, allocations: 451 kB / 412 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005423/0.3218, allocations: 247 kB / 412.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.3219, allocations: 4.562 kB / 412.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.3219, allocations: 46.12 kB / 412.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.943e-06/0.3219, allocations: 1.281 kB / 412.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01353/0.3355, allocations: 3.316 MB / 415.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.3355, allocations: 84.2 kB / 415.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3365, allocations: 0.5412 MB / 416.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.3366, allocations: 36.02 kB / 416.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.3369, allocations: 319.6 kB / 416.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.3371, allocations: 222.7 kB / 416.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.3373, allocations: 111.7 kB / 417 MB, free: 12.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.3375, allocations: 363.6 kB / 417.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.3382, allocations: 249.2 kB / 417.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.3389, allocations: 345.6 kB / 417.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.3403, allocations: 0.604 MB / 418.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3403, allocations: 0 / 418.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001776/0.3421, allocations: 0.7561 MB / 419.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3421, allocations: 6.656 kB / 419.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.3421, allocations: 2.438 kB / 419.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.3423, allocations: 29.78 kB / 419.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/0.3431, allocations: 166.4 kB / 419.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.3444, allocations: 1.325 MB / 420.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.3451, allocations: 40.34 kB / 420.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.3451, allocations: 24.7 kB / 420.8 MB, free: 9.34 MB / 334.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.0004128/0.3455, allocations: 206.8 kB / 421 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.3457, allocations: 65.25 kB / 421.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.3478, allocations: 0.8369 MB / 421.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.3479, allocations: 15.44 kB / 422 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3479, allocations: 0 / 422 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3479, allocations: 5.297 kB / 422 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/0.3519, allocations: 1.673 MB / 423.6 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3519, allocations: 4 kB / 423.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.3525, allocations: 111.8 kB / 423.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/0.3548, allocations: 472.4 kB / 424.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.3549, allocations: 15.98 kB / 424.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005308/0.3602, allocations: 2.985 MB / 427.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3602, allocations: 64 / 427.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.3634, allocations: 1.37 MB / 428.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.3638, allocations: 135.5 kB / 428.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.132e-05/0.3639, allocations: 12 kB / 428.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/0.3646, allocations: 47.95 kB / 428.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.3647, allocations: 52.5 kB / 428.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.3647, allocations: 23.98 kB / 428.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005466/0.3653, allocations: 386.9 kB / 429.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3653, allocations: 0 / 429.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000786/0.3661, allocations: 188.1 kB / 429.4 MB, free: 1.328 MB / 334.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.003689/0.3698, allocations: 1.949 MB / 431.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3714, allocations: 0.707 MB / 432.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3714, allocations: 0 / 432.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.3724, allocations: 0.5028 MB / 432.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.3732, allocations: 93.91 kB / 432.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.3833, allocations: 5.94 MB / 438.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3837, allocations: 311.1 kB / 438.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003934/0.3841, allocations: 76.78 kB / 439 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.3845, allocations: 239.3 kB / 439.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3845, allocations: 0 / 439.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06369/0.4482, allocations: 16.35 MB / 455.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.74, allocations: 3.859 kB / 455.6 MB, free: 6.832 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_fmu --startTime=0 --stopTime=0.1 --stepSize=2e-05 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.55401553073898]