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.001844/0.001844, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.002208/0.002208, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 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 1.479/1.479, allocations: 230.5 MB / 258.2 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 59.89 kB / 378.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2729, allocations: 53.41 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005979/0.2789, allocations: 3.2 MB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.2821, allocations: 1.589 MB / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003956/0.2825, allocations: 11.94 kB / 436.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.2864, allocations: 2.663 MB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009406/0.2873, allocations: 230.5 kB / 439.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2883, allocations: 334.2 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.2907, allocations: 1.813 MB / 441.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.291, allocations: 106 kB / 441.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.2916, allocations: 325 kB / 442.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.2922, allocations: 362.7 kB / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.2923, allocations: 44 kB / 442.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.2926, allocations: 87.98 kB / 442.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007275/0.2933, allocations: 0.8453 MB / 443.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007726/0.2941, allocations: 0.6705 MB / 444.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.2968, allocations: 2.676 MB / 446.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2968, allocations: 4 kB / 446.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2968, allocations: 3.938 kB / 446.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.48e-05/0.2968, allocations: 0 / 446.8 MB, free: 7.469 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00424/0.301, allocations: 2.836 MB / 449.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3011, allocations: 12.03 kB / 449.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.543e-05/0.3011, allocations: 9.188 kB / 449.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.861e-05/0.3012, allocations: 78.66 kB / 449.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/0.3017, allocations: 306.9 kB / 450.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.3046, allocations: 1.798 MB / 451.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.3047, allocations: 110.7 kB / 452 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.3049, allocations: 60.05 kB / 452 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/0.3057, allocations: 446.4 kB / 452.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.3058, allocations: 0 / 452.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.3058, allocations: 16 kB / 452.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3058, allocations: 8 kB / 452.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.3066, allocations: 327.7 kB / 452.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/0.3111, allocations: 2.639 MB / 455.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.3118, allocations: 304.1 kB / 455.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.3121, allocations: 164.3 kB / 455.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.3122, allocations: 4 kB / 455.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.3122, allocations: 42.56 kB / 456 MB, free: 14.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.304e-06/0.3122, allocations: 0 / 456 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005494/0.3177, allocations: 2.407 MB / 458.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.3178, allocations: 85.53 kB / 458.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007497/0.3253, allocations: 5.452 MB / 463.9 MB, free: 6.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.3254, allocations: 37.7 kB / 463.9 MB, free: 6.031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.3266, allocations: 1.184 MB / 465.1 MB, free: 4.844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.3269, allocations: 182.5 kB / 465.3 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.327, allocations: 90.14 kB / 465.4 MB, free: 4.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3272, allocations: 326 kB / 465.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.3275, allocations: 136.9 kB / 465.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.3279, allocations: 217.1 kB / 466.1 MB, free: 3.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.3287, allocations: 384.3 kB / 466.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3287, allocations: 0 / 466.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001446/0.3301, allocations: 0.7012 MB / 467.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3301, allocations: 11.98 kB / 467.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3302, allocations: 0 / 467.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3302, allocations: 4 kB / 467.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.3307, allocations: 123.8 kB / 467.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3307, allocations: 8 kB / 467.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.3312, allocations: 15.98 kB / 467.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.3313, allocations: 20.16 kB / 467.3 MB, free: 2.578 MB / 366.1 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.001314/0.3326, allocations: 0.923 MB / 468.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004156/0.333, allocations: 282.1 kB / 468.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.3347, allocations: 0.802 MB / 469.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3347, allocations: 4 kB / 469.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3347, allocations: 3.938 kB / 469.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3347, allocations: 7.984 kB / 469.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.3366, allocations: 1.246 MB / 470.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3366, allocations: 4 kB / 470.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.3371, allocations: 99.81 kB / 470.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000382/0.3375, allocations: 80.8 kB / 470.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.3375, allocations: 12 kB / 470.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006653/0.3382, allocations: 0.6421 MB / 471.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3382, allocations: 0 / 471.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.3401, allocations: 1.09 MB / 472.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008296/0.341, allocations: 430 kB / 472.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.3412, allocations: 16.06 kB / 472.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.3416, allocations: 15.98 kB / 472.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.3417, allocations: 32.38 kB / 473 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.3417, allocations: 12 kB / 473 MB, free: 12.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005735/0.3475, allocations: 3.994 MB / 477 MB, free: 8.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3475, allocations: 0 / 477 MB, free: 8.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009232/0.3484, allocations: 207.9 kB / 477.2 MB, free: 8.586 MB / 382.1 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.004098/0.3525, allocations: 1.96 MB / 479.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009278/0.3534, allocations: 357.3 kB / 479.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3534, allocations: 0 / 479.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.3539, allocations: 210.3 kB / 479.7 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.3554, allocations: 194.6 kB / 479.9 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04409/0.3994, allocations: 19.42 MB / 499.3 MB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.4011, allocations: 1.254 MB / 0.4888 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007941/0.4019, allocations: 271.8 kB / 0.4891 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.4031, allocations: 0.9327 MB / 0.49 GB, free: 15.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4031, allocations: 4 kB / 0.49 GB, free: 15.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09532/0.4985, allocations: 39.65 MB / 0.5287 GB, free: 8.461 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.88/19.38, allocations: 11.98 kB / 0.5287 GB, free: 8.449 MB / 446.1 MB " [Timeout remaining time 640] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/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: 22.486914171022363]