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.001409/0.001409, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001487/0.001487, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.397/1.397, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.91 kB / 377.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.225, allocations: 53.4 MB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007834/0.2328, allocations: 5.897 MB / 437 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.2373, allocations: 2.161 MB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008161/0.2381, allocations: 51.69 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008815/0.239, allocations: 381.5 kB / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.2411, allocations: 0.8472 MB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007765/0.2419, allocations: 354.4 kB / 440.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.2455, allocations: 3.199 MB / 444 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.2469, allocations: 1.074 MB / 445.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.2487, allocations: 1.336 MB / 446.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.2513, allocations: 1.693 MB / 448.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005497/0.2518, allocations: 296 kB / 448.4 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.2528, allocations: 419.9 kB / 448.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007893/0.2536, allocations: 0.8645 MB / 449.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.2551, allocations: 1.194 MB / 450.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004788/0.2599, allocations: 4.153 MB / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2599, allocations: 0 / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2599, allocations: 0 / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.2601, allocations: 0 / 455 MB, free: 14.41 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.009485/0.2695, allocations: 3.482 MB / 458.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.2696, allocations: 11.98 kB / 458.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005585/0.2701, allocations: 341.2 kB / 458.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.2744, allocations: 0.7602 MB / 459.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.2787, allocations: 1.679 MB / 461.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.2789, allocations: 177 kB / 461.5 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005062/0.2794, allocations: 227.9 kB / 461.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006541/0.2859, allocations: 3.449 MB / 465.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.286, allocations: 8 kB / 465.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.2862, allocations: 95.98 kB / 465.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.055e-05/0.2863, allocations: 79.25 kB / 465.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005133/0.2914, allocations: 2.874 MB / 468.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.3071, allocations: 8.364 MB / 476.6 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/0.3111, allocations: 1.833 MB / 478.4 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.3124, allocations: 0.7649 MB / 479.2 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004397/0.3168, allocations: 2.051 MB / 481.2 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.3168, allocations: 50.83 kB / 481.3 MB, free: 3.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.216e-06/0.3169, allocations: 0 / 481.3 MB, free: 3.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008772/0.3256, allocations: 4.14 MB / 485.4 MB, free: 15.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.3257, allocations: 115.2 kB / 485.5 MB, free: 15.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.328, allocations: 1.637 MB / 487.2 MB, free: 13.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.3281, allocations: 49.7 kB / 487.2 MB, free: 13.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/0.329, allocations: 1.145 MB / 488.3 MB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.3293, allocations: 372.9 kB / 488.7 MB, free: 11.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.3297, allocations: 246.8 kB / 488.9 MB, free: 11.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.3299, allocations: 353.9 kB / 489.3 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.331, allocations: 0.6349 MB / 489.9 MB, free: 10.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.3324, allocations: 1.015 MB / 490.9 MB, free: 9.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/0.335, allocations: 1.712 MB / 492.7 MB, free: 7.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.335, allocations: 0 / 492.7 MB, free: 7.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003645/0.3387, allocations: 1.946 MB / 494.6 MB, free: 5.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.3387, allocations: 18.91 kB / 494.6 MB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.3387, allocations: 12 kB / 494.6 MB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.3391, allocations: 133.6 kB / 494.8 MB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.3405, allocations: 327.5 kB / 495.1 MB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.3439, allocations: 3.2 MB / 498.3 MB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.3451, allocations: 107.7 kB / 498.4 MB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.3452, allocations: 63.97 kB / 498.5 MB, free: 1.672 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.001504/0.3467, allocations: 0.829 MB / 499.3 MB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.3471, allocations: 163 kB / 499.4 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.3499, allocations: 1.393 MB / 0.4891 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3499, allocations: 8 kB / 0.4891 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.3499, allocations: 8 kB / 0.4891 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3499, allocations: 3.984 kB / 0.4891 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004371/0.3543, allocations: 2.262 MB / 0.4913 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.3543, allocations: 4 kB / 0.4913 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008389/0.3552, allocations: 179.8 kB / 0.4915 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007014/0.3559, allocations: 262.3 kB / 0.4917 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/0.3559, allocations: 36.25 kB / 0.4918 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006344/0.3623, allocations: 5.893 MB / 0.4975 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3623, allocations: 0 / 0.4975 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/0.3666, allocations: 2.558 MB / 0.5 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/0.3671, allocations: 190.8 kB / 0.5002 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.3673, allocations: 28 kB / 0.5002 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/0.3682, allocations: 87.89 kB / 0.5003 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.3684, allocations: 108.1 kB / 0.5004 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.3685, allocations: 31.98 kB / 0.5005 GB, free: 3.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.3701, allocations: 1.132 MB / 0.5016 GB, free: 2.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3701, allocations: 0 / 0.5016 GB, free: 2.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001587/0.3717, allocations: 448 kB / 0.502 GB, free: 1.594 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.004758/0.3764, allocations: 3.17 MB / 0.5051 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.3796, allocations: 1.67 MB / 0.5067 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3796, allocations: 1.75 kB / 0.5067 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.3816, allocations: 1.149 MB / 0.5078 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.3834, allocations: 281.5 kB / 0.5081 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/0.4158, allocations: 17.48 MB / 0.5252 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/0.4183, allocations: 1.539 MB / 0.5267 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00185/0.4201, allocations: 455.5 kB / 0.5271 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/0.4219, allocations: 0.8351 MB / 0.5279 GB, free: 6.336 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4219, allocations: 0 / 0.5279 GB, free: 6.336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2894/0.7113, allocations: 40.49 MB / 0.5675 GB, free: 81.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.05, allocations: 7.672 kB / 0.5675 GB, free: 81.34 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.99606762919575]