Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001719/0.001719, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001834/0.001834, allocations: 204.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 51.91 kB / 377.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2855, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02376/0.3092, allocations: 18.61 MB / 449.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.3237, allocations: 6.51 MB / 456.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00391/0.3276, allocations: 175.1 kB / 456.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01659/0.3442, allocations: 6.385 MB / 462.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009703/0.3539, allocations: 2.814 MB / 465.6 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004525/0.3584, allocations: 1.562 MB / 467.2 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01299/0.3714, allocations: 9.181 MB / 476.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01947/0.3909, allocations: 11.05 MB / 487.4 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009281/0.4002, allocations: 4.777 MB / 492.2 MB, free: 9.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009549/0.4097, allocations: 5.241 MB / 497.4 MB, free: 4.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003849/0.4136, allocations: 1.359 MB / 498.8 MB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00581/0.4194, allocations: 1.687 MB / 0.4887 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004581/0.424, allocations: 2.623 MB / 0.4913 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009129/0.4331, allocations: 3.841 MB / 0.4951 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02639/0.4595, allocations: 18.32 MB / 0.5129 GB, free: 8.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4595, allocations: 0 / 0.5129 GB, free: 8.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4595, allocations: 4 kB / 0.513 GB, free: 8.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004557/0.4599, allocations: 0 / 0.513 GB, free: 8.094 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03348/0.4934, allocations: 10.66 MB / 0.5234 GB, free: 13.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4935, allocations: 8.031 kB / 0.5234 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003198/0.4967, allocations: 1.086 MB / 0.5244 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03534/0.532, allocations: 5.899 MB / 0.5302 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/0.5484, allocations: 5.78 MB / 0.5358 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2338/0.7822, allocations: 0.553 MB / 0.5364 GB, free: 90.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004269/0.7865, allocations: 0.7328 MB / 0.5371 GB, free: 90.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03014/0.8166, allocations: 13.03 MB / 0.5498 GB, free: 85.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002099/0.8168, allocations: 11.77 kB / 0.5498 GB, free: 85.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001505/0.8183, allocations: 312.1 kB / 0.5501 GB, free: 85.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003851/0.8187, allocations: 496.4 kB / 0.5506 GB, free: 84.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/0.8407, allocations: 12.56 MB / 0.5629 GB, free: 74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05129/0.892, allocations: 37.07 MB / 0.5991 GB, free: 36.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.9029, allocations: 8.512 MB / 0.6074 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003327/0.9063, allocations: 2.913 MB / 0.6102 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.9065, allocations: 95.12 kB / 0.6103 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.9066, allocations: 77.78 kB / 0.6104 GB, free: 26.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.522e-06/0.9066, allocations: 3.281 kB / 0.6104 GB, free: 26.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.02998/0.9366, allocations: 16.75 MB / 0.6268 GB, free: 9.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.9366, allocations: 94.67 kB / 0.6268 GB, free: 9.883 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/0.9398, allocations: 2.917 MB / 0.6297 GB, free: 7.016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003029/0.9401, allocations: 93.7 kB / 0.6298 GB, free: 6.918 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.9414, allocations: 3.145 MB / 0.6329 GB, free: 3.883 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008423/0.9423, allocations: 1.462 MB / 0.6343 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.9434, allocations: 0.9582 MB / 0.6352 GB, free: 1.469 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.9435, allocations: 301.1 kB / 0.6355 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00344/0.9469, allocations: 2.508 MB / 0.638 GB, free: 14.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/0.9522, allocations: 4.13 MB / 0.642 GB, free: 9.793 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/0.9624, allocations: 7.199 MB / 0.649 GB, free: 1.875 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.356e-05/0.9624, allocations: 12 kB / 0.649 GB, free: 1.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01563/0.9781, allocations: 7.992 MB / 0.6568 GB, free: 9.844 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/0.9781, allocations: 28 kB / 0.6569 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.349e-05/0.9782, allocations: 48 kB / 0.6569 GB, free: 9.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/0.9818, allocations: 1.195 MB / 0.6581 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004649/0.9864, allocations: 1.139 MB / 0.6592 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/1.003, allocations: 10.73 MB / 0.6697 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/1.007, allocations: 263.9 kB / 0.6699 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000844/1.008, allocations: 236 kB / 0.6701 GB, free: 11.99 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004969/1.013, allocations: 2.948 MB / 0.673 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009016/1.014, allocations: 377.6 kB / 0.6734 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.026, allocations: 6.631 MB / 0.6799 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-05/1.026, allocations: 44 kB / 0.6799 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.026, allocations: 8 kB / 0.6799 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.213e-05/1.026, allocations: 23.91 kB / 0.6799 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/1.052, allocations: 14.12 MB / 0.6937 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.052, allocations: 8 kB / 0.6937 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/1.056, allocations: 0.745 MB / 0.6945 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/1.059, allocations: 1.089 MB / 0.6955 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/1.059, allocations: 95.97 kB / 0.6956 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/1.074, allocations: 9.669 MB / 0.7051 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/1.074, allocations: 8 kB / 0.7051 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/1.091, allocations: 9.967 MB / 0.7148 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00279/1.093, allocations: 0.8839 MB / 0.7157 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006965/1.094, allocations: 91.92 kB / 0.7157 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.096, allocations: 199.8 kB / 0.7159 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006764/1.097, allocations: 323.1 kB / 0.7162 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/1.097, allocations: 124 kB / 0.7164 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003034/1.1, allocations: 1.943 MB / 0.7183 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.1, allocations: 3.938 kB / 0.7183 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004612/1.105, allocations: 1.383 MB / 0.7196 GB, free: 8.852 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.phi) * 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 (398): * Single equations (assignments): 396 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0167/1.121, allocations: 10.71 MB / 0.7301 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.134, allocations: 6.464 MB / 0.7364 GB, free: 7.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/1.134, allocations: 5.938 kB / 0.7364 GB, free: 7.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006721/1.14, allocations: 3.309 MB / 0.7396 GB, free: 4.176 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/1.145, allocations: 0.8288 MB / 0.7404 GB, free: 3.375 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2845/1.429, allocations: 47.02 MB / 0.7864 GB, free: 164.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004333/1.434, allocations: 4.598 MB / 0.7908 GB, free: 159.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003724/1.437, allocations: 1.62 MB / 0.7924 GB, free: 158.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003116/1.44, allocations: 2.682 MB / 0.795 GB, free: 155.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/1.44, allocations: 0 / 0.795 GB, free: 155.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1628/1.603, allocations: 116.5 MB / 0.9088 GB, free: 39.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/17.08, allocations: 0 / 0.9088 GB, free: 39.85 MB / 0.545 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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: 25.5602769300167]