Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.001087/0.001087, 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.00611/0.00611, allocations: 163.1 kB / 24.69 MB, free: 9.41 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.8664/0.8664, 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.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.994e-05, allocations: 2.281 kB / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.1813/0.1814, allocations: 20.42 MB / 318.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.1932, allocations: 6.342 MB / 325.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004399/0.1976, allocations: 180.2 kB / 325.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.2008, allocations: 1.587 MB / 327 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005804/0.2066, allocations: 2.214 MB / 329.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.2093, allocations: 1.465 MB / 330.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009135/0.2185, allocations: 8.438 MB / 339.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004194/0.2226, allocations: 3.817 MB / 342.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00663/0.2293, allocations: 5.786 MB / 348.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.2327, allocations: 3.749 MB / 352.5 MB, free: 8.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009033/0.2336, allocations: 1.09 MB / 353.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.2351, allocations: 1.293 MB / 354.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.2364, allocations: 2.493 MB / 357.3 MB, free: 3.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002461/0.2389, allocations: 3.072 MB / 360.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.2492, allocations: 14.34 MB / 374.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2492, allocations: 0 / 374.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2492, allocations: 0 / 374.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002922/0.2495, allocations: 0 / 374.7 MB, free: 2.297 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.013/0.2625, allocations: 8.868 MB / 383.6 MB, free: 9.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2625, allocations: 11.98 kB / 383.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008551/0.2634, allocations: 0.9589 MB / 384.6 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004151/0.2675, allocations: 1.702 MB / 386.3 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004964/0.2725, allocations: 4.467 MB / 390.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.2727, allocations: 0.5141 MB / 391.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006612/0.2734, allocations: 0.6799 MB / 391.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.2846, allocations: 9.749 MB / 401.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.853e-05/0.2847, allocations: 7.953 kB / 401.7 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004846/0.2852, allocations: 284 kB / 402 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.2854, allocations: 341.6 kB / 402.3 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.2956, allocations: 8.035 MB / 410.4 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02998/0.3256, allocations: 25.41 MB / 435.8 MB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007156/0.3327, allocations: 6.157 MB / 441.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003587/0.3363, allocations: 2.67 MB / 444.6 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009811/0.3461, allocations: 6.513 MB / 451.1 MB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3462, allocations: 60.61 kB / 451.2 MB, free: 5.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 4.608e-06/0.3462, allocations: 0 / 451.2 MB, free: 5.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01509/0.3613, allocations: 10.29 MB / 461.5 MB, free: 11.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3613, allocations: 77.5 kB / 461.5 MB, free: 10.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/0.3655, allocations: 3.439 MB / 465 MB, free: 7.539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002066/0.3657, allocations: 69.7 kB / 465 MB, free: 7.465 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.3673, allocations: 3.111 MB / 468.2 MB, free: 4.328 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006904/0.368, allocations: 0.9489 MB / 469.1 MB, free: 3.371 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006689/0.3686, allocations: 0.5936 MB / 469.7 MB, free: 2.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004044/0.369, allocations: 305.1 kB / 470 MB, free: 2.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.3708, allocations: 1.393 MB / 471.4 MB, free: 1.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1629/0.5338, allocations: 2.475 MB / 473.9 MB, free: 129.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004665/0.5384, allocations: 4.08 MB / 477.9 MB, free: 127.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-05/0.5385, allocations: 8.375 kB / 477.9 MB, free: 127.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007751/0.5462, allocations: 4.63 MB / 482.6 MB, free: 126.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.5463, allocations: 19.5 kB / 482.6 MB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.04e-05/0.5463, allocations: 31.28 kB / 482.6 MB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008166/0.5471, allocations: 398.2 kB / 483 MB, free: 126 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.5491, allocations: 0.7926 MB / 483.8 MB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.5535, allocations: 7.5 MB / 491.3 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.5559, allocations: 167.4 kB / 491.5 MB, free: 119.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.5562, allocations: 145.8 kB / 491.6 MB, free: 119.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (411): * Single equations (assignments): 405 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003574/0.5598, allocations: 2.076 MB / 493.7 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007662/0.5605, allocations: 385.7 kB / 494.1 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005742/0.5663, allocations: 4.033 MB / 498.1 MB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.5663, allocations: 25.75 kB / 498.1 MB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/0.5663, allocations: 15.56 kB / 498.1 MB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.5663, allocations: 13.03 kB / 498.2 MB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.5784, allocations: 9.113 MB / 0.4954 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.5784, allocations: 3.969 kB / 0.4954 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.5795, allocations: 406 kB / 0.4958 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.5809, allocations: 0.8558 MB / 0.4966 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/0.5811, allocations: 72.11 kB / 0.4967 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.5918, allocations: 16.59 MB / 0.5129 GB, free: 97.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5918, allocations: 4 kB / 0.5129 GB, free: 97.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006325/0.5981, allocations: 5.861 MB / 0.5186 GB, free: 92.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.5996, allocations: 0.7004 MB / 0.5193 GB, free: 92.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/0.6, allocations: 60 kB / 0.5193 GB, free: 92.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009447/0.601, allocations: 131.9 kB / 0.5195 GB, free: 91.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004402/0.6014, allocations: 213.5 kB / 0.5197 GB, free: 91.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.791e-05/0.6015, allocations: 83.97 kB / 0.5198 GB, free: 91.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002545/0.604, allocations: 2.286 MB / 0.522 GB, free: 89.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.604, allocations: 0 / 0.522 GB, free: 89.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003331/0.6074, allocations: 1.148 MB / 0.5231 GB, free: 88.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (198): * Single equations (assignments): 191 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005834/0.6132, allocations: 6.509 MB / 0.5295 GB, free: 81.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004408/0.6176, allocations: 3.822 MB / 0.5332 GB, free: 77.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.6176, allocations: 4 kB / 0.5332 GB, free: 77.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.6201, allocations: 2.727 MB / 0.5359 GB, free: 74.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/0.6232, allocations: 1.015 MB / 0.5368 GB, free: 73.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06219/0.6854, allocations: 39.12 MB / 0.5751 GB, free: 33.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002758/0.6882, allocations: 3.742 MB / 0.5787 GB, free: 29.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002457/0.6906, allocations: 0.8326 MB / 0.5795 GB, free: 28.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/0.6928, allocations: 2.542 MB / 0.582 GB, free: 26.29 MB / 426.7 MB Notification: Performance of SimCode: time 3.427e-06/0.6928, allocations: 0 / 0.582 GB, free: 26.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3646/1.057, allocations: 104.4 MB / 0.684 GB, free: 96.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.82, allocations: 3.938 kB / 0.684 GB, free: 96.39 MB / 442.7 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_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_SMR_Inverter_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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/SMR_Inverter_MultiPhase/SMR_Inverter_MultiPhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 17.77639975491911]