Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001709/0.001709, allocations: 81.62 kB / 21.25 MB, free: 0.5469 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.002119/0.002119, allocations: 159.8 kB / 24.5 MB, free: 3.719 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.446/1.446, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 62.78 kB / 325.6 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.0926, allocations: 53.39 MB / 379 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02295/0.1156, allocations: 18.61 MB / 397.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.1299, allocations: 6.508 MB / 404.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.1339, allocations: 175.2 kB / 404.3 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01643/0.1503, allocations: 6.705 MB / 411 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008455/0.1588, allocations: 2.798 MB / 413.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.1631, allocations: 1.548 MB / 415.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01217/0.1753, allocations: 9.167 MB / 424.5 MB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01977/0.195, allocations: 10.91 MB / 435.4 MB, free: 6.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007201/0.2022, allocations: 4.766 MB / 440.1 MB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008255/0.2105, allocations: 4.976 MB / 445.1 MB, free: 12.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002957/0.2134, allocations: 1.355 MB / 446.5 MB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.2176, allocations: 1.683 MB / 448.2 MB, free: 9.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003184/0.2207, allocations: 2.619 MB / 450.8 MB, free: 7.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00682/0.2276, allocations: 3.841 MB / 454.6 MB, free: 3.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02219/0.2497, allocations: 18.32 MB / 472.9 MB, free: 1.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2498, allocations: 0 / 472.9 MB, free: 1.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.2498, allocations: 0 / 472.9 MB, free: 1.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000352/0.2501, allocations: 4 kB / 472.9 MB, free: 1.043 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.2145/0.4646, allocations: 10.65 MB / 483.6 MB, free: 75.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4646, allocations: 16.02 kB / 483.6 MB, free: 75.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03352/0.4982, allocations: 5.92 MB / 489.5 MB, free: 73.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.5094, allocations: 5.762 MB / 495.3 MB, free: 67.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004347/0.5098, allocations: 0.5537 MB / 495.8 MB, free: 67.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002644/0.5125, allocations: 0.7374 MB / 496.6 MB, free: 66.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/0.5382, allocations: 13.04 MB / 0.4977 GB, free: 53.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002484/0.5385, allocations: 7.953 kB / 0.4977 GB, free: 53.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001401/0.5399, allocations: 315.2 kB / 0.498 GB, free: 53.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003415/0.5402, allocations: 496.1 kB / 0.4985 GB, free: 52.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02049/0.5607, allocations: 12.56 MB / 0.5107 GB, free: 40.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05459/0.6153, allocations: 36 MB / 0.5459 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01439/0.6297, allocations: 8.509 MB / 0.5542 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005217/0.6349, allocations: 2.917 MB / 0.557 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.6353, allocations: 91.14 kB / 0.5571 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.336e-05/0.6353, allocations: 74.25 kB / 0.5572 GB, free: 9.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.913e-06/0.6353, allocations: 3.938 kB / 0.5572 GB, free: 9.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.04134/0.6767, allocations: 16.74 MB / 0.5735 GB, free: 8.449 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.6768, allocations: 94.67 kB / 0.5736 GB, free: 8.344 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/0.6814, allocations: 2.693 MB / 0.5763 GB, free: 5.629 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004508/0.6819, allocations: 93.64 kB / 0.5764 GB, free: 5.531 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.6844, allocations: 3.152 MB / 0.5794 GB, free: 2.352 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/0.686, allocations: 1.464 MB / 0.5809 GB, free: 0.875 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.688, allocations: 0.9583 MB / 0.5818 GB, free: 15.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6881, allocations: 301.1 kB / 0.5821 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004589/0.6927, allocations: 2.512 MB / 0.5845 GB, free: 13.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006248/0.699, allocations: 4.127 MB / 0.5886 GB, free: 8.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.7103, allocations: 7.199 MB / 0.5956 GB, free: 320 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-05/0.7103, allocations: 16 kB / 0.5956 GB, free: 304 kB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01591/0.7262, allocations: 7.967 MB / 0.6034 GB, free: 8.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.7263, allocations: 31.94 kB / 0.6034 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-05/0.7264, allocations: 48.84 kB / 0.6035 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003599/0.73, allocations: 1.194 MB / 0.6046 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/0.7345, allocations: 1.143 MB / 0.6057 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.7512, allocations: 10.65 MB / 0.6162 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/0.7547, allocations: 267.8 kB / 0.6164 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007662/0.7554, allocations: 232 kB / 0.6166 GB, free: 10.52 MB / 0.4981 GB 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.005299/0.7607, allocations: 2.963 MB / 0.6195 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000986/0.7617, allocations: 345.8 kB / 0.6199 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/0.775, allocations: 6.633 MB / 0.6263 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/0.775, allocations: 40 kB / 0.6264 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.599e-05/0.775, allocations: 12 kB / 0.6264 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.855e-05/0.7751, allocations: 23.92 kB / 0.6264 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02601/0.8011, allocations: 13.09 MB / 0.6392 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.8011, allocations: 4 kB / 0.6392 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/0.8043, allocations: 0.7489 MB / 0.6399 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/0.8076, allocations: 1.085 MB / 0.641 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003745/0.808, allocations: 99.97 kB / 0.6411 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/0.8229, allocations: 9.619 MB / 0.6505 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/0.8229, allocations: 11.94 kB / 0.6505 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/0.8407, allocations: 9.948 MB / 0.6602 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/0.8432, allocations: 0.8645 MB / 0.661 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007289/0.844, allocations: 80 kB / 0.6611 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/0.8462, allocations: 207.8 kB / 0.6613 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/0.8469, allocations: 319.1 kB / 0.6616 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003207/0.8472, allocations: 124 kB / 0.6617 GB, free: 11.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003155/0.8504, allocations: 1.79 MB / 0.6635 GB, free: 9.973 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8504, allocations: 0 / 0.6635 GB, free: 9.973 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004984/0.8554, allocations: 1.387 MB / 0.6648 GB, free: 8.586 MB / 0.545 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.0006512/0.856, allocations: 270.8 kB / 0.6651 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01198/0.868, allocations: 6.465 MB / 0.6714 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.868, allocations: 8.062 kB / 0.6714 GB, free: 1.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.1986/1.067, allocations: 3.312 MB / 0.6747 GB, free: 187.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/1.071, allocations: 0.7291 MB / 0.6754 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/1.095, allocations: 14.21 MB / 0.6892 GB, free: 183 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004605/1.099, allocations: 4.597 MB / 0.6937 GB, free: 181.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003684/1.103, allocations: 1.587 MB / 0.6953 GB, free: 181.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009455/1.104, allocations: 327.5 kB / 0.6956 GB, free: 181.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.233e-06/1.104, allocations: 0 / 0.6956 GB, free: 181.4 MB / 0.545 GB Notification: Performance of Templates: time 0.08107/1.185, allocations: 55 MB / 0.7493 GB, free: 130.4 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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: 7.475749794044532]