Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001795/0.001795, allocations: 75.12 kB / 21.24 MB, free: 0.543 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.002034/0.002034, allocations: 161.7 kB / 24.5 MB, free: 3.719 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.414/1.414, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002971/0.002971, allocations: 65.55 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1108, allocations: 53.38 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007993/0.1187, allocations: 5.9 MB / 384.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004292/0.123, allocations: 2.164 MB / 387 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008266/0.1239, allocations: 51.69 kB / 387 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.1249, allocations: 385.4 kB / 387.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.1273, allocations: 0.8512 MB / 388.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.1281, allocations: 355.2 kB / 388.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003732/0.1318, allocations: 3.203 MB / 391.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.1332, allocations: 1.074 MB / 392.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.1347, allocations: 1.343 MB / 394.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.1369, allocations: 1.681 MB / 395.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004352/0.1374, allocations: 296 kB / 396.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008353/0.1382, allocations: 423.9 kB / 396.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008268/0.139, allocations: 0.8645 MB / 397.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.1404, allocations: 1.182 MB / 398.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004123/0.1445, allocations: 4.157 MB / 402.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1445, allocations: 0 / 402.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1445, allocations: 0 / 402.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.542e-05/0.1445, allocations: 0 / 402.8 MB, free: 7.449 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.00766/0.1522, allocations: 3.478 MB / 406.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1522, allocations: 19.98 kB / 406.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004222/0.1564, allocations: 0.7563 MB / 407.1 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.1595, allocations: 1.679 MB / 408.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.1596, allocations: 177 kB / 408.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.16, allocations: 240 kB / 409.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005277/0.1653, allocations: 3.445 MB / 412.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.1653, allocations: 3.984 kB / 412.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002226/0.1655, allocations: 92 kB / 412.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.932e-05/0.1656, allocations: 79.3 kB / 412.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004843/0.1705, allocations: 2.87 MB / 415.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.1846, allocations: 8.059 MB / 423.7 MB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/0.1887, allocations: 1.838 MB / 425.5 MB, free: 176 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.19, allocations: 0.7592 MB / 426.3 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003885/0.1939, allocations: 2.051 MB / 428.4 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.1939, allocations: 42.89 kB / 428.4 MB, free: 13.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.645e-06/0.1939, allocations: 0 / 428.4 MB, free: 13.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.008473/0.2024, allocations: 4.157 MB / 432.5 MB, free: 9.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/0.2025, allocations: 119.3 kB / 432.7 MB, free: 8.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.2049, allocations: 1.581 MB / 434.2 MB, free: 7.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/0.205, allocations: 49.7 kB / 434.3 MB, free: 7.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009125/0.2059, allocations: 1.148 MB / 435.4 MB, free: 6.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.2062, allocations: 376.8 kB / 435.8 MB, free: 5.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.2066, allocations: 238.9 kB / 436 MB, free: 5.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.2068, allocations: 357.9 kB / 436.4 MB, free: 5.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.208, allocations: 0.631 MB / 437 MB, free: 4.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.2094, allocations: 1.019 MB / 438 MB, free: 3.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/0.2121, allocations: 1.698 MB / 439.7 MB, free: 1.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.2121, allocations: 0 / 439.7 MB, free: 1.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003425/0.2155, allocations: 1.949 MB / 441.7 MB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.2155, allocations: 11.94 kB / 441.7 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.2156, allocations: 12 kB / 441.7 MB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/0.2159, allocations: 121.6 kB / 441.8 MB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.2172, allocations: 339.7 kB / 442.2 MB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.2204, allocations: 3.166 MB / 445.3 MB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009354/0.2214, allocations: 99.66 kB / 445.4 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.2215, allocations: 52 kB / 445.5 MB, free: 11.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001238/0.2227, allocations: 0.8328 MB / 446.3 MB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.223, allocations: 159.1 kB / 446.5 MB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.2256, allocations: 1.383 MB / 447.9 MB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.2256, allocations: 12 kB / 447.9 MB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2256, allocations: 8 kB / 447.9 MB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.2256, allocations: 7.969 kB / 447.9 MB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.229, allocations: 1.964 MB / 449.8 MB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.229, allocations: 4 kB / 449.8 MB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/0.2299, allocations: 183.8 kB / 450 MB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/0.2305, allocations: 262.3 kB / 450.3 MB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.2306, allocations: 31.98 kB / 450.3 MB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.2367, allocations: 5.821 MB / 456.1 MB, free: 476 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.2367, allocations: 8.016 kB / 456.1 MB, free: 468 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/0.2408, allocations: 2.558 MB / 458.7 MB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.2411, allocations: 174.9 kB / 458.9 MB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.2413, allocations: 31.98 kB / 458.9 MB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/0.2422, allocations: 91.91 kB / 459 MB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.2424, allocations: 104.1 kB / 459.1 MB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/0.2424, allocations: 31.98 kB / 459.1 MB, free: 13.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001607/0.2441, allocations: 1.107 MB / 460.2 MB, free: 12.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2441, allocations: 0 / 460.2 MB, free: 12.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001377/0.2454, allocations: 447.9 kB / 460.7 MB, free: 11.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003046/0.2457, allocations: 167 kB / 460.8 MB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.2486, allocations: 1.66 MB / 462.5 MB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2486, allocations: 0 / 462.5 MB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.2506, allocations: 1.151 MB / 463.6 MB, free: 8.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.2519, allocations: 260.6 kB / 463.9 MB, free: 8.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007299/0.2592, allocations: 4.762 MB / 468.7 MB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.261, allocations: 1.535 MB / 470.2 MB, free: 2.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001007/0.262, allocations: 447.2 kB / 470.6 MB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.2623, allocations: 100.5 kB / 470.7 MB, free: 1.652 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2623, allocations: 0 / 470.7 MB, free: 1.652 MB / 430.1 MB Notification: Performance of Templates: time 0.199/0.4613, allocations: 19.34 MB / 490.1 MB, free: 76.47 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.213602653006092]