Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.0008876/0.0008876, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003923/0.003923, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.875/0.875, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: 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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.48e-05, allocations: 5.516 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004783/0.004807, allocations: 5.914 MB / 331.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.007837, allocations: 2.145 MB / 333.9 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.00838, allocations: 55.62 kB / 333.9 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.008997, allocations: 381.4 kB / 334.3 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.01059, allocations: 0.8698 MB / 335.2 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.01116, allocations: 351.2 kB / 335.5 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002626/0.01378, allocations: 3.291 MB / 338.8 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009716/0.01475, allocations: 1.074 MB / 339.9 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.01651, allocations: 1.879 MB / 341.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.01787, allocations: 1.52 MB / 343.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.01817, allocations: 296 kB / 343.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005961/0.01877, allocations: 423.7 kB / 344 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007111/0.01948, allocations: 0.884 MB / 344.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007877/0.02026, allocations: 1.002 MB / 345.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002848/0.02311, allocations: 4.168 MB / 350 MB, free: 7.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.02312, allocations: 3.938 kB / 350.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.02312, allocations: 4 kB / 350.1 MB, free: 7.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.802e-05/0.02318, allocations: 0 / 350.1 MB, free: 7.09 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.004701/0.02788, allocations: 3.447 MB / 353.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.02792, allocations: 12.03 kB / 353.5 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.0299, allocations: 0.7563 MB / 354.3 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.03179, allocations: 1.674 MB / 355.9 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.03187, allocations: 176.9 kB / 356.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.03209, allocations: 228.3 kB / 356.3 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.03556, allocations: 3.437 MB / 359.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.03559, allocations: 3.938 kB / 359.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.03573, allocations: 92 kB / 359.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/0.03578, allocations: 73.94 kB / 359.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/0.03867, allocations: 2.862 MB / 362.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008404/0.04707, allocations: 8.043 MB / 370.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.04925, allocations: 1.837 MB / 372.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008237/0.05007, allocations: 0.7584 MB / 373.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002196/0.05227, allocations: 2.059 MB / 375.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.05229, allocations: 46.75 kB / 375.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 2.855e-06/0.05229, allocations: 0 / 375.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.004625/0.05692, allocations: 4.126 MB / 379.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.05697, allocations: 119.2 kB / 379.8 MB, free: 8.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.05845, allocations: 1.596 MB / 381.4 MB, free: 7.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.0585, allocations: 49.7 kB / 381.4 MB, free: 7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.05896, allocations: 1.141 MB / 382.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.05914, allocations: 368.9 kB / 382.9 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.05935, allocations: 238.9 kB / 383.2 MB, free: 5.246 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.05944, allocations: 357.9 kB / 383.5 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.06005, allocations: 0.631 MB / 384.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/0.0608, allocations: 1.016 MB / 385.2 MB, free: 3.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.06219, allocations: 1.702 MB / 386.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.0622, allocations: 4 kB / 386.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002052/0.06425, allocations: 1.943 MB / 388.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.06428, allocations: 10.5 kB / 388.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.06429, allocations: 12 kB / 388.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.06452, allocations: 125.6 kB / 389 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.06514, allocations: 335.6 kB / 389.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.0669, allocations: 3.159 MB / 392.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.06749, allocations: 103.6 kB / 392.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.06755, allocations: 56 kB / 392.6 MB, free: 11.26 MB / 362.7 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.0009752/0.06852, allocations: 0.8331 MB / 393.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.0687, allocations: 155.2 kB / 393.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.07029, allocations: 1.391 MB / 395 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.0703, allocations: 15.94 kB / 395 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.0703, allocations: 8 kB / 395 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.07031, allocations: 3.984 kB / 395 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.07243, allocations: 1.968 MB / 397 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.07244, allocations: 0 / 397 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.07285, allocations: 183.8 kB / 397.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003669/0.07321, allocations: 254.3 kB / 397.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.07326, allocations: 35.97 kB / 397.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/0.07685, allocations: 5.829 MB / 403.3 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.07685, allocations: 0 / 403.3 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.07926, allocations: 2.546 MB / 405.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.07955, allocations: 178.8 kB / 406 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.07966, allocations: 31.98 kB / 406 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.08009, allocations: 83.91 kB / 406.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.08026, allocations: 108.2 kB / 406.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.0803, allocations: 27.98 kB / 406.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.08141, allocations: 1.103 MB / 407.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08141, allocations: 4 kB / 407.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00118/0.08259, allocations: 440 kB / 407.8 MB, free: 11.66 MB / 378.7 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.000289/0.08288, allocations: 171.1 kB / 407.9 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.08484, allocations: 1.683 MB / 409.6 MB, free: 9.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.08484, allocations: 0 / 409.6 MB, free: 9.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.08588, allocations: 1.153 MB / 410.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.08674, allocations: 257.5 kB / 411 MB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.09135, allocations: 4.532 MB / 415.6 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.09241, allocations: 1.471 MB / 417 MB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.09272, allocations: 116.5 kB / 417.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.09272, allocations: 0 / 417.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of Templates: time 0.1856/0.2783, allocations: 58.4 MB / 475.5 MB, free: 100.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.607737377285957]