Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.001103/0.001103, 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.0009747/0.0009747, 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.9728/0.9728, 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.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.187e-05, allocations: 2.844 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.00375/0.003772, allocations: 3.211 MB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.005685, allocations: 1.612 MB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.005855, allocations: 11.94 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.008018, allocations: 2.67 MB / 332 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.008456, allocations: 234.4 kB / 332.2 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.008954, allocations: 325.3 kB / 332.6 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.01022, allocations: 1.84 MB / 334.4 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.01038, allocations: 88.38 kB / 334.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.01076, allocations: 433.1 kB / 334.9 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.01101, allocations: 299.2 kB / 335.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.01107, allocations: 44 kB / 335.3 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.0112, allocations: 95.86 kB / 335.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.0116, allocations: 0.8649 MB / 336.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.01189, allocations: 466.1 kB / 336.7 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.01353, allocations: 2.516 MB / 339.2 MB, free: 1.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01354, allocations: 0 / 339.2 MB, free: 1.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01354, allocations: 3.938 kB / 339.2 MB, free: 1.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.01355, allocations: 0 / 339.2 MB, free: 1.188 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002273/0.01583, allocations: 2.808 MB / 342 MB, free: 14.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.01587, allocations: 15.98 kB / 342 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.01594, allocations: 78.72 kB / 342.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.01621, allocations: 306.9 kB / 342.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.01789, allocations: 1.805 MB / 344.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.01797, allocations: 110.7 kB / 344.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.01808, allocations: 48.67 kB / 344.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.01853, allocations: 446.7 kB / 344.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.01854, allocations: 0 / 344.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.01857, allocations: 20 kB / 344.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.01857, allocations: 8 kB / 344.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.01899, allocations: 331.7 kB / 345.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.02127, allocations: 2.628 MB / 347.8 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.02167, allocations: 311.2 kB / 348.1 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.02186, allocations: 173.5 kB / 348.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.02188, allocations: 4 kB / 348.2 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.02191, allocations: 34.56 kB / 348.3 MB, free: 7.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 2.265e-06/0.02191, allocations: 4 kB / 348.3 MB, free: 7.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002652/0.02456, allocations: 2.393 MB / 350.7 MB, free: 5.391 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.0246, allocations: 85.55 kB / 350.8 MB, free: 5.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003813/0.02841, allocations: 5.463 MB / 356.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.02844, allocations: 33.7 kB / 356.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.02911, allocations: 1.184 MB / 357.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-05/0.02919, allocations: 174.5 kB / 357.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.413e-05/0.02928, allocations: 90.12 kB / 357.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.02935, allocations: 326 kB / 358 MB, free: 14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.02953, allocations: 140.9 kB / 358.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.02988, allocations: 217.1 kB / 358.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.03029, allocations: 389.5 kB / 358.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.03029, allocations: 4 kB / 358.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000635/0.03093, allocations: 0.6948 MB / 359.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.03094, allocations: 11.94 kB / 359.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.03095, allocations: 256 / 359.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.03096, allocations: 8 kB / 359.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.03121, allocations: 123.8 kB / 359.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.03122, allocations: 4 kB / 359.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.03141, allocations: 23.88 kB / 359.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.03143, allocations: 20 kB / 359.6 MB, free: 12.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.0006444/0.03208, allocations: 0.9192 MB / 360.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.03226, allocations: 286.1 kB / 360.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008265/0.03308, allocations: 0.7881 MB / 361.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.03309, allocations: 7.938 kB / 361.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.03309, allocations: 0 / 361.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.0331, allocations: 11.92 kB / 361.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009461/0.03405, allocations: 1.242 MB / 362.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.03405, allocations: 0 / 362.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.03427, allocations: 99.88 kB / 363 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.03449, allocations: 92.72 kB / 363.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.03452, allocations: 11.98 kB / 363.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003765/0.03489, allocations: 0.6305 MB / 363.7 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.0349, allocations: 8.016 kB / 363.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009885/0.03588, allocations: 1.093 MB / 364.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.03632, allocations: 434 kB / 365.2 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.03641, allocations: 11.94 kB / 365.2 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.03665, allocations: 23.98 kB / 365.3 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.03671, allocations: 28.44 kB / 365.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.03673, allocations: 20 kB / 365.3 MB, free: 6.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002866/0.03959, allocations: 3.986 MB / 369.3 MB, free: 2.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03959, allocations: 0 / 369.3 MB, free: 2.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003786/0.03997, allocations: 211.9 kB / 369.5 MB, free: 2.332 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.04171, allocations: 1.957 MB / 371.5 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004509/0.04216, allocations: 362.2 kB / 371.8 MB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.04217, allocations: 4 kB / 371.8 MB, free: 136 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.04244, allocations: 199.4 kB / 372 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.04311, allocations: 199.4 kB / 372.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/0.06596, allocations: 19.28 MB / 391.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/0.06686, allocations: 1.25 MB / 392.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003489/0.0672, allocations: 283.8 kB / 393 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006966/0.0679, allocations: 0.9338 MB / 394 MB, free: 9.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.0679, allocations: 3.938 kB / 394 MB, free: 9.766 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.1251, allocations: 39.99 MB / 433.9 MB, free: 1.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.778/8.903, allocations: 4 kB / 433.9 MB, free: 1.906 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.931782598607242]