Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 189.3 kB / 22.93 MB, free: 5.582 MB / 14.72 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 1.567/1.567, allocations: 207.6 MB / 233.5 MB, free: 10.97 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 63.89 kB / 345.4 MB, free: 10.4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3908, allocations: 49.11 MB / 394.6 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03429/0.4251, allocations: 27.24 MB / 421.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02455/0.4497, allocations: 8.042 MB / 429.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009325/0.459, allocations: 171 kB / 430 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02603/0.485, allocations: 9.466 MB / 439.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01681/0.5018, allocations: 3.428 MB / 442.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007993/0.5098, allocations: 1.861 MB / 444.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02347/0.5333, allocations: 12.3 MB / 457.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03977/0.5731, allocations: 15.02 MB / 472.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/0.5867, allocations: 6.569 MB / 478.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01573/0.6024, allocations: 7.351 MB / 486 MB, free: 7.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007132/0.6095, allocations: 1.855 MB / 487.8 MB, free: 6.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.6198, allocations: 2.211 MB / 490.1 MB, free: 3.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008681/0.6285, allocations: 3.686 MB / 493.7 MB, free: 228 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01859/0.6471, allocations: 7 MB / 0.489 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04083/0.6879, allocations: 24.83 MB / 0.5133 GB, free: 296 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.6879, allocations: 0 / 0.5133 GB, free: 296 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6879, allocations: 0 / 0.5133 GB, free: 296 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008804/0.6888, allocations: 4 kB / 0.5133 GB, free: 292 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05124/0.74, allocations: 14.92 MB / 0.5278 GB, free: 1.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7401, allocations: 16.03 kB / 0.5278 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05349/0.7936, allocations: 9.528 MB / 0.5371 GB, free: 7.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/0.8111, allocations: 6.905 MB / 0.5439 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/0.8121, allocations: 0.8189 MB / 0.5447 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005281/0.8174, allocations: 1.082 MB / 0.5457 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4932/1.311, allocations: 18.74 MB / 0.564 GB, free: 124.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007609/1.311, allocations: 14.72 kB / 0.5641 GB, free: 124.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004923/1.316, allocations: 458.8 kB / 0.5645 GB, free: 124.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/1.318, allocations: 0.699 MB / 0.5652 GB, free: 124.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04541/1.363, allocations: 18.22 MB / 0.583 GB, free: 117.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/1.467, allocations: 59.49 MB / 0.6411 GB, free: 67.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02999/1.497, allocations: 46.19 MB / 0.6862 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007159/1.504, allocations: 3.892 MB / 0.69 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02681/1.531, allocations: 12.38 MB / 0.7021 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/1.531, allocations: 81.45 kB / 0.7021 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 5.791e-06/1.531, allocations: 0 / 0.7021 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04969/1.58, allocations: 19.4 MB / 0.7211 GB, free: 13.55 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/1.581, allocations: 94.47 kB / 0.7212 GB, free: 13.44 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/1.591, allocations: 4.337 MB / 0.7254 GB, free: 9.145 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009958/1.592, allocations: 97.7 kB / 0.7255 GB, free: 9.043 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004397/1.597, allocations: 5.001 MB / 0.7304 GB, free: 4.059 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002302/1.599, allocations: 1.414 MB / 0.7318 GB, free: 2.633 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00427/1.603, allocations: 1.275 MB / 0.733 GB, free: 1.348 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.603, allocations: 301.1 kB / 0.7333 GB, free: 1.051 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006069/1.609, allocations: 3.12 MB / 0.7364 GB, free: 13.93 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008681/1.618, allocations: 5.745 MB / 0.742 GB, free: 6.957 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/1.633, allocations: 9.446 MB / 0.7512 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.723e-05/1.633, allocations: 27.94 kB / 0.7512 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02373/1.657, allocations: 10.25 MB / 0.7612 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/1.657, allocations: 44 kB / 0.7613 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/1.657, allocations: 88 kB / 0.7614 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004459/1.662, allocations: 1.449 MB / 0.7628 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2891/1.951, allocations: 1.456 MB / 0.7642 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/1.969, allocations: 11.46 MB / 0.7754 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005886/1.975, allocations: 408.5 kB / 0.7758 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/1.976, allocations: 327.7 kB / 0.7761 GB, free: 170.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008958/1.985, allocations: 4.183 MB / 0.7802 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/1.986, allocations: 472.8 kB / 0.7806 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.999, allocations: 7.315 MB / 0.7878 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008495/2.008, allocations: 5.987 MB / 0.7936 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/2.008, allocations: 17.12 kB / 0.7936 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/2.008, allocations: 19.22 kB / 0.7936 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/2.031, allocations: 16.29 MB / 0.8096 GB, free: 157 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/2.031, allocations: 3.906 kB / 0.8096 GB, free: 157 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002824/2.034, allocations: 0.7235 MB / 0.8103 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003214/2.037, allocations: 1.293 MB / 0.8115 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003294/2.038, allocations: 87.69 kB / 0.8116 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/2.049, allocations: 10.19 MB / 0.8216 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/2.049, allocations: 11.92 kB / 0.8216 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/2.064, allocations: 10.52 MB / 0.8319 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003363/2.067, allocations: 1.067 MB / 0.8329 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000843/2.068, allocations: 74.81 kB / 0.833 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/2.07, allocations: 247.6 kB / 0.8332 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006782/2.071, allocations: 275.6 kB / 0.8335 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/2.071, allocations: 116 kB / 0.8336 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003517/2.074, allocations: 2.901 MB / 0.8364 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/2.074, allocations: 0 / 0.8364 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006764/2.081, allocations: 1.846 MB / 0.8382 GB, free: 132.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.port_p.reference.gamma,speed.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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006267/2.082, allocations: 268.5 kB / 0.8385 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01197/2.094, allocations: 7.569 MB / 0.8459 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/2.094, allocations: 0.875 kB / 0.8459 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/2.099, allocations: 3.387 MB / 0.8492 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005026/2.104, allocations: 1.092 MB / 0.8502 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/2.132, allocations: 19.16 MB / 0.8689 GB, free: 101 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006/2.138, allocations: 7.032 MB / 0.8758 GB, free: 93.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005444/2.143, allocations: 2.251 MB / 0.878 GB, free: 91.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/2.144, allocations: 371.4 kB / 0.8784 GB, free: 91.27 MB / 0.5294 GB Notification: Performance of SimCode: time 1.894e-06/2.144, allocations: 0 / 0.8784 GB, free: 91.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.1161/2.26, allocations: 74.95 MB / 0.9516 GB, free: 16.29 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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: 9.06414990965277]