Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 96.02 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 180.9 kB / 24.45 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 51.91 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.256, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006321/0.2623, allocations: 4.225 MB / 428 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.2656, allocations: 1.596 MB / 429.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/0.2662, allocations: 31.81 kB / 429.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007879/0.267, allocations: 262.3 kB / 429.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.269, allocations: 0.6918 MB / 430.6 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.2696, allocations: 230 kB / 430.8 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.2722, allocations: 1.872 MB / 432.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.2733, allocations: 0.6683 MB / 433.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.2745, allocations: 0.8138 MB / 434.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.2762, allocations: 1.02 MB / 435.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003267/0.2765, allocations: 184 kB / 435.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007194/0.2773, allocations: 307.8 kB / 435.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005221/0.2778, allocations: 0.5375 MB / 436.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000894/0.2787, allocations: 0.7234 MB / 437 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.2814, allocations: 2.592 MB / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.2814, allocations: 4 kB / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2814, allocations: 0 / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.762e-05/0.2815, allocations: 4 kB / 439.6 MB, free: 14.64 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004746/0.2862, allocations: 2.149 MB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2863, allocations: 8.031 kB / 441.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.288, allocations: 371.6 kB / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.2903, allocations: 1.046 MB / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.621e-05/0.2904, allocations: 99.05 kB / 443.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.2906, allocations: 140.1 kB / 443.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.2938, allocations: 2.037 MB / 445.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.2939, allocations: 4 kB / 445.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.294, allocations: 56 kB / 445.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/0.2941, allocations: 49.92 kB / 445.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.2969, allocations: 1.688 MB / 447.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008611/0.3055, allocations: 4.81 MB / 452 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.308, allocations: 1.06 MB / 453.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007474/0.3087, allocations: 475.8 kB / 453.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002453/0.3112, allocations: 1.241 MB / 454.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.3112, allocations: 42.56 kB / 454.8 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.385e-06/0.3112, allocations: 0 / 454.8 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003203/0.3144, allocations: 1.329 MB / 456.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.3145, allocations: 85.11 kB / 456.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3158, allocations: 1.008 MB / 457.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.3158, allocations: 37.7 kB / 457.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.3164, allocations: 0.6909 MB / 458 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.3165, allocations: 202.3 kB / 458.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.3168, allocations: 130.3 kB / 458.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3169, allocations: 330 kB / 458.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.3175, allocations: 357 kB / 459 MB, free: 10.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007419/0.3183, allocations: 0.5131 MB / 459.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.3196, allocations: 0.8711 MB / 460.3 MB, free: 9.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.3196, allocations: 4 kB / 460.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001691/0.3213, allocations: 1.014 MB / 461.4 MB, free: 8.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3213, allocations: 12.03 kB / 461.4 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3214, allocations: 4 kB / 461.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.3214, allocations: 8 kB / 461.4 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.3221, allocations: 183.6 kB / 461.6 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.3221, allocations: 11.98 kB / 461.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.3227, allocations: 87.47 kB / 461.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.3227, allocations: 27.98 kB / 461.7 MB, free: 7.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0007543/0.3235, allocations: 0.5325 MB / 462.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.3236, allocations: 99.38 kB / 462.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.325, allocations: 0.6771 MB / 463 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.325, allocations: 4 kB / 463 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.325, allocations: 4 kB / 463 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.325, allocations: 0 / 463 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.3275, allocations: 1.348 MB / 464.3 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3275, allocations: 96 / 464.3 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.3279, allocations: 95.86 kB / 464.4 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.3284, allocations: 148.6 kB / 464.6 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.3284, allocations: 23.98 kB / 464.6 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003397/0.3318, allocations: 2.686 MB / 467.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.3318, allocations: 7.969 kB / 467.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.3343, allocations: 1.478 MB / 468.8 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.3346, allocations: 115.3 kB / 468.9 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.3348, allocations: 19.98 kB / 468.9 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/0.3353, allocations: 55.94 kB / 469 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.3355, allocations: 59.77 kB / 469 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.3355, allocations: 16 kB / 469 MB, free: 356 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.3366, allocations: 0.7175 MB / 469.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3366, allocations: 0 / 469.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001081/0.3377, allocations: 362.8 kB / 470.1 MB, free: 15.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002834/0.338, allocations: 146.1 kB / 470.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.3394, allocations: 0.749 MB / 471 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.3394, allocations: 4 kB / 471 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.3405, allocations: 0.5746 MB / 471.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.3415, allocations: 165.2 kB / 471.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.3464, allocations: 2.804 MB / 474.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.3475, allocations: 0.8751 MB / 475.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.3478, allocations: 67.42 kB / 475.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3478, allocations: 0 / 475.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of Templates: time 0.03091/0.3787, allocations: 20.19 MB / 495.7 MB, free: 5.668 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 8.753219136036932]