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.001407/0.001407, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.001466/0.001466, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.476/1.476, allocations: 230.2 MB / 254.5 MB, free: 15.42 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: 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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 71.88 kB / 373.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09787, allocations: 53.3 MB / 427.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00798/0.1058, allocations: 6.691 MB / 433.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003918/0.1098, allocations: 2.273 MB / 436.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.1102, allocations: 39.88 kB / 436.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007691/0.111, allocations: 381.4 kB / 436.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.1128, allocations: 0.8628 MB / 437.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.1135, allocations: 362.1 kB / 437.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00363/0.1172, allocations: 3.199 MB / 440.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.119, allocations: 1.5 MB / 442.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.1205, allocations: 1.312 MB / 443.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.1225, allocations: 1.65 MB / 445.4 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000403/0.1229, allocations: 296 kB / 445.7 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007863/0.1237, allocations: 427.9 kB / 446.1 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007621/0.1244, allocations: 0.8606 MB / 447 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1883/0.3127, allocations: 1.458 MB / 448.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003922/0.3166, allocations: 4.13 MB / 452.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.3167, allocations: 0.8906 kB / 452.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3167, allocations: 1.375 kB / 452.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.32e-05/0.3167, allocations: 0 / 452.6 MB, free: 11.67 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.008069/0.3248, allocations: 3.558 MB / 456.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3248, allocations: 8.969 kB / 456.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.3291, allocations: 0.7609 MB / 456.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.3322, allocations: 1.729 MB / 458.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.3323, allocations: 173.3 kB / 458.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.3326, allocations: 234.2 kB / 459 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005586/0.3382, allocations: 3.224 MB / 462.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.677e-05/0.3383, allocations: 2.016 kB / 462.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.3385, allocations: 90.94 kB / 462.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.868e-05/0.3386, allocations: 81.17 kB / 462.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004471/0.3431, allocations: 2.879 MB / 465.3 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.3554, allocations: 9.352 MB / 474.6 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004472/0.3598, allocations: 4.314 MB / 479 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.3611, allocations: 0.7568 MB / 479.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004525/0.3656, allocations: 3.16 MB / 482.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.3656, allocations: 44.55 kB / 482.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.415e-06/0.3656, allocations: 0 / 482.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008193/0.3738, allocations: 4.293 MB / 487.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.3739, allocations: 116.9 kB / 487.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.3761, allocations: 1.629 MB / 489 MB, free: 7.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/0.3762, allocations: 46.77 kB / 489 MB, free: 7.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/0.377, allocations: 1.144 MB / 490.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.3773, allocations: 367.2 kB / 490.5 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003728/0.3777, allocations: 237.7 kB / 490.7 MB, free: 5.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3778, allocations: 359.2 kB / 491.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009768/0.3788, allocations: 0.6403 MB / 491.7 MB, free: 5.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.3801, allocations: 1.011 MB / 492.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.3824, allocations: 1.695 MB / 494.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.3824, allocations: 4.562 kB / 494.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003223/0.3856, allocations: 1.958 MB / 496.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.3856, allocations: 11.94 kB / 496.4 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.3857, allocations: 12 kB / 496.4 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003893/0.3861, allocations: 126.9 kB / 496.5 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.3874, allocations: 338.4 kB / 496.9 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.3908, allocations: 3.433 MB / 0.4886 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.3921, allocations: 107.7 kB / 0.4887 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.3922, allocations: 58.05 kB / 0.4887 GB, free: 14.08 MB / 398.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.001534/0.3937, allocations: 0.8292 MB / 0.4896 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.3941, allocations: 159 kB / 0.4897 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/0.3968, allocations: 1.384 MB / 0.4911 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.3968, allocations: 12 kB / 0.4911 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.3968, allocations: 11.94 kB / 0.4911 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3968, allocations: 3.984 kB / 0.4911 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004181/0.401, allocations: 2.448 MB / 0.4935 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.401, allocations: 3.938 kB / 0.4935 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/0.4019, allocations: 191.6 kB / 0.4937 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000681/0.4026, allocations: 249.5 kB / 0.4939 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.671e-05/0.4026, allocations: 39.97 kB / 0.4939 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00637/0.409, allocations: 6.263 MB / 0.5001 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.409, allocations: 4.031 kB / 0.5001 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/0.4132, allocations: 2.551 MB / 0.5025 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/0.4137, allocations: 258.5 kB / 0.5028 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.4139, allocations: 35.92 kB / 0.5028 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/0.4148, allocations: 87.91 kB / 0.5029 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.415, allocations: 95.44 kB / 0.503 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/0.4151, allocations: 35.98 kB / 0.503 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001636/0.4167, allocations: 1.132 MB / 0.5041 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4167, allocations: 4 kB / 0.5041 GB, free: 13.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001607/0.4183, allocations: 444.8 kB / 0.5046 GB, free: 13.42 MB / 414.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.0002994/0.4186, allocations: 167.5 kB / 0.5047 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.4216, allocations: 1.662 MB / 0.5064 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4216, allocations: 10.69 kB / 0.5064 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.4235, allocations: 1.147 MB / 0.5075 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.4249, allocations: 287 kB / 0.5078 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007075/0.432, allocations: 4.73 MB / 0.5124 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.4339, allocations: 2.113 MB / 0.5144 GB, free: 3.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001057/0.435, allocations: 451.5 kB / 0.5149 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.4353, allocations: 103.4 kB / 0.515 GB, free: 2.707 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4353, allocations: 0 / 0.515 GB, free: 2.707 MB / 414.1 MB Notification: Performance of Templates: time 0.0359/0.4712, allocations: 20.28 MB / 0.5348 GB, free: 14.64 MB / 446.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 -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/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_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.233132149092853]