Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.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.0008176/0.0008176, allocations: 87.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.003623/0.003623, allocations: 162 kB / 24.69 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8442/0.8442, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.723e-05, allocations: 2.281 kB / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.138/0.138, allocations: 21.8 MB / 320.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1496, allocations: 6.836 MB / 327.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004051/0.1537, allocations: 187.5 kB / 327.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004386/0.1581, allocations: 1.732 MB / 329 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00652/0.1646, allocations: 2.375 MB / 331.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.1678, allocations: 1.535 MB / 332.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009469/0.1772, allocations: 8.907 MB / 341.8 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/0.1822, allocations: 3.91 MB / 345.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008135/0.1904, allocations: 6.051 MB / 351.8 MB, free: 9.246 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00394/0.1943, allocations: 3.889 MB / 355.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.1955, allocations: 1.125 MB / 356.8 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.1972, allocations: 1.335 MB / 358.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.1986, allocations: 2.579 MB / 360.7 MB, free: 308 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.2015, allocations: 3.204 MB / 363.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.2118, allocations: 14.86 MB / 378.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2118, allocations: 0 / 378.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2118, allocations: 0 / 378.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002983/0.2121, allocations: 0 / 378.8 MB, free: 14.19 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01407/0.2262, allocations: 9.252 MB / 388 MB, free: 4.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2263, allocations: 11.98 kB / 388.1 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009545/0.2272, allocations: 0.9888 MB / 389 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.2318, allocations: 1.78 MB / 390.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006272/0.238, allocations: 4.663 MB / 395.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.2383, allocations: 0.5303 MB / 396 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000841/0.2392, allocations: 0.7112 MB / 396.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.2512, allocations: 10.08 MB / 406.8 MB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.2513, allocations: 19.44 kB / 406.8 MB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004672/0.2518, allocations: 296 kB / 407.1 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002158/0.252, allocations: 350.6 kB / 407.5 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009711/0.2617, allocations: 8.268 MB / 415.7 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02883/0.2905, allocations: 26.84 MB / 442.6 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006691/0.2972, allocations: 6.248 MB / 448.8 MB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/0.2999, allocations: 2.757 MB / 451.6 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00826/0.3082, allocations: 6.825 MB / 458.4 MB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.3082, allocations: 64.78 kB / 458.5 MB, free: 14.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=281): time 4.057e-06/0.3082, allocations: 0 / 458.5 MB, free: 14.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=289): time 0.01395/0.3221, allocations: 10.88 MB / 469.3 MB, free: 3.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3222, allocations: 81.69 kB / 469.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2279/0.5501, allocations: 3.704 MB / 473.1 MB, free: 130.7 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004469/0.5505, allocations: 75.08 kB / 473.2 MB, free: 130.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.552, allocations: 3.262 MB / 476.5 MB, free: 129.8 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/0.5525, allocations: 1.033 MB / 477.5 MB, free: 129.2 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006911/0.5532, allocations: 0.6418 MB / 478.1 MB, free: 128.8 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 2.523e-05/0.5532, allocations: 302.8 kB / 478.4 MB, free: 128.5 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.5549, allocations: 1.48 MB / 479.9 MB, free: 128 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.5569, allocations: 2.679 MB / 482.6 MB, free: 125.9 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/0.5604, allocations: 4.39 MB / 487 MB, free: 123.1 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.5604, allocations: 11.16 kB / 487 MB, free: 123.1 MB / 426.8 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.006038/0.5665, allocations: 4.955 MB / 491.9 MB, free: 121 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.5665, allocations: 20.81 kB / 492 MB, free: 121 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.5665, allocations: 36.94 kB / 492 MB, free: 121 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/0.5672, allocations: 403.1 kB / 492.4 MB, free: 120.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.5689, allocations: 0.8645 MB / 493.3 MB, free: 120.7 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/0.5724, allocations: 7.485 MB / 0.489 GB, free: 114.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.5742, allocations: 174.9 kB / 0.4892 GB, free: 114.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.5744, allocations: 169.9 kB / 0.4893 GB, free: 114.3 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (451): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002745/0.5771, allocations: 2.136 MB / 0.4914 GB, free: 113.1 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004677/0.5776, allocations: 415.8 kB / 0.4918 GB, free: 112.9 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/0.5818, allocations: 4.275 MB / 0.496 GB, free: 111.1 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.5818, allocations: 25.78 kB / 0.496 GB, free: 111.1 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.5818, allocations: 14.59 kB / 0.496 GB, free: 111.1 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5819, allocations: 16.78 kB / 0.496 GB, free: 111.1 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009178/0.591, allocations: 9.665 MB / 0.5055 GB, free: 106.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.591, allocations: 4 kB / 0.5055 GB, free: 106.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009001/0.5919, allocations: 441.4 kB / 0.5059 GB, free: 106.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.593, allocations: 0.8636 MB / 0.5068 GB, free: 105.5 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.5932, allocations: 86.92 kB / 0.5068 GB, free: 105.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007662/0.6008, allocations: 16.7 MB / 0.5231 GB, free: 88.53 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6008, allocations: 11.94 kB / 0.5232 GB, free: 88.52 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.6061, allocations: 6.25 MB / 0.5293 GB, free: 82.09 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.6072, allocations: 0.7432 MB / 0.53 GB, free: 81.35 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.6075, allocations: 71.94 kB / 0.5301 GB, free: 81.28 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/0.6084, allocations: 139.9 kB / 0.5302 GB, free: 81.14 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/0.6087, allocations: 233.7 kB / 0.5304 GB, free: 80.91 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.6088, allocations: 94.81 kB / 0.5305 GB, free: 80.82 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00209/0.6109, allocations: 2.461 MB / 0.5329 GB, free: 78.38 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6109, allocations: 0 / 0.5329 GB, free: 78.38 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.002467/0.6133, allocations: 1.21 MB / 0.5341 GB, free: 77.17 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * 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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005342/0.6187, allocations: 6.924 MB / 0.5408 GB, free: 70.08 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.003907/0.6226, allocations: 4.061 MB / 0.5448 GB, free: 65.95 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6226, allocations: 0 / 0.5448 GB, free: 65.95 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002104/0.6247, allocations: 2.852 MB / 0.5476 GB, free: 63 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.6273, allocations: 1.116 MB / 0.5487 GB, free: 61.89 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05012/0.6774, allocations: 41.65 MB / 0.5894 GB, free: 18.88 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/0.6799, allocations: 3.864 MB / 0.5931 GB, free: 14.96 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002387/0.6823, allocations: 0.898 MB / 0.594 GB, free: 14.06 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/0.6841, allocations: 2.734 MB / 0.5967 GB, free: 11.32 MB / 426.8 MB Notification: Performance of SimCode: time 2.234e-06/0.6841, allocations: 0 / 0.5967 GB, free: 11.32 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2485/0.9327, allocations: 112 MB / 0.7061 GB, free: 72.57 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/12.08, allocations: 0 / 0.7061 GB, free: 72.57 MB / 442.8 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMPM_Inverter_MultiPhase/SMPM_Inverter_MultiPhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.136038206517696]