Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001994/0.001994, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002152/0.002152, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.472/1.472, allocations: 230.5 MB / 258.1 MB, free: 7.773 MB / 206.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 63.89 kB / 379 MB, free: 2.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2868, allocations: 53.41 MB / 432.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03978/0.3266, allocations: 21.48 MB / 453.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02374/0.3503, allocations: 7.747 MB / 461.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007056/0.3574, allocations: 218.9 kB / 461.9 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03256/0.39, allocations: 7.818 MB / 469.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01603/0.406, allocations: 3.07 MB / 472.8 MB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006937/0.4129, allocations: 1.817 MB / 474.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01823/0.4312, allocations: 11.33 MB / 485.9 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02556/0.4567, allocations: 14.48 MB / 0.4887 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.467, allocations: 6.055 MB / 0.4946 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/0.4782, allocations: 6.264 MB / 0.5007 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004692/0.4829, allocations: 1.715 MB / 0.5024 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006698/0.4896, allocations: 2.148 MB / 0.5045 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005831/0.4955, allocations: 3.394 MB / 0.5078 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01099/0.5064, allocations: 4.919 MB / 0.5126 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04166/0.5481, allocations: 23.28 MB / 0.5353 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5481, allocations: 0 / 0.5353 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5481, allocations: 0 / 0.5353 GB, free: 2.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006524/0.5488, allocations: 0 / 0.5353 GB, free: 2.293 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.5633/1.112, allocations: 13.56 MB / 0.5486 GB, free: 88.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.112, allocations: 11.98 kB / 0.5486 GB, free: 88.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03457/1.147, allocations: 6.254 MB / 0.5547 GB, free: 82.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/1.163, allocations: 7.373 MB / 0.5619 GB, free: 75.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007547/1.164, allocations: 0.7144 MB / 0.5626 GB, free: 74.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004577/1.169, allocations: 0.9486 MB / 0.5635 GB, free: 73.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03918/1.208, allocations: 16.31 MB / 0.5795 GB, free: 57.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005443/1.208, allocations: 11.91 kB / 0.5795 GB, free: 57.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004139/1.213, allocations: 406.1 kB / 0.5799 GB, free: 56.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005472/1.213, allocations: 0.563 MB / 0.5804 GB, free: 56.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03193/1.245, allocations: 15.07 MB / 0.5951 GB, free: 40.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08614/1.331, allocations: 45.41 MB / 0.6395 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/1.349, allocations: 8.539 MB / 0.6478 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006739/1.356, allocations: 3.309 MB / 0.651 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006031/1.357, allocations: 123.4 kB / 0.6512 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/1.357, allocations: 82 kB / 0.6512 GB, free: 15.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 8.526e-06/1.357, allocations: 0 / 0.6512 GB, free: 15.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.06255/1.419, allocations: 20.35 MB / 0.6711 GB, free: 11.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.419, allocations: 98.95 kB / 0.6712 GB, free: 10.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/1.43, allocations: 4.412 MB / 0.6755 GB, free: 6.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001434/1.432, allocations: 97.7 kB / 0.6756 GB, free: 6.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005145/1.437, allocations: 4.336 MB / 0.6798 GB, free: 2.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003412/1.44, allocations: 1.611 MB / 0.6814 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004983/1.445, allocations: 1.204 MB / 0.6826 GB, free: 15.28 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.445, allocations: 313.1 kB / 0.6829 GB, free: 14.97 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006915/1.452, allocations: 3.065 MB / 0.6859 GB, free: 11.9 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009627/1.462, allocations: 5.231 MB / 0.691 GB, free: 5.691 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01602/1.478, allocations: 8.876 MB / 0.6997 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/1.478, allocations: 23.94 kB / 0.6997 GB, free: 11.82 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02566/1.504, allocations: 9.826 MB / 0.7093 GB, free: 1.973 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/1.504, allocations: 36 kB / 0.7093 GB, free: 1.938 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/1.504, allocations: 68 kB / 0.7094 GB, free: 1.871 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004228/1.508, allocations: 1.371 MB / 0.7107 GB, free: 0.4961 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006275/1.515, allocations: 1.392 MB / 0.7121 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/1.536, allocations: 12.05 MB / 0.7238 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006246/1.543, allocations: 351.6 kB / 0.7242 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/1.544, allocations: 299.9 kB / 0.7245 GB, free: 2.188 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009929/1.554, allocations: 3.88 MB / 0.7282 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/1.556, allocations: 472.9 kB / 0.7287 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/1.575, allocations: 8.42 MB / 0.7369 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01391/1.589, allocations: 6.201 MB / 0.743 GB, free: 15.13 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.589e-05/1.589, allocations: 15.94 kB / 0.743 GB, free: 15.12 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.965e-05/1.589, allocations: 23.91 kB / 0.743 GB, free: 15.09 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4039/1.993, allocations: 14.96 MB / 0.7576 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.812e-05/1.993, allocations: 8.062 kB / 0.7576 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004487/1.998, allocations: 0.8141 MB / 0.7584 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004062/2.002, allocations: 1.248 MB / 0.7596 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001052/2.003, allocations: 110.2 kB / 0.7597 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/2.017, allocations: 10.96 MB / 0.7705 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/2.017, allocations: 13.66 kB / 0.7705 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01711/2.034, allocations: 11.14 MB / 0.7813 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003003/2.037, allocations: 1.039 MB / 0.7824 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008343/2.038, allocations: 91.12 kB / 0.7824 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/2.04, allocations: 231.5 kB / 0.7827 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/2.041, allocations: 346.9 kB / 0.783 GB, free: 182 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/2.041, allocations: 144.1 kB / 0.7831 GB, free: 182 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003864/2.045, allocations: 2.953 MB / 0.786 GB, free: 181 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/2.045, allocations: 1.688 kB / 0.786 GB, free: 181 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006362/2.052, allocations: 1.715 MB / 0.7877 GB, free: 180.8 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/2.054, allocations: 0.5515 MB / 0.7882 GB, free: 180.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01201/2.066, allocations: 7.661 MB / 0.7957 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/2.066, allocations: 3.938 kB / 0.7957 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006386/2.072, allocations: 3.682 MB / 0.7993 GB, free: 171.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006352/2.078, allocations: 0.9522 MB / 0.8002 GB, free: 170.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/2.111, allocations: 18.06 MB / 0.8179 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00657/2.118, allocations: 5.894 MB / 0.8236 GB, free: 149 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/2.12, allocations: 439.3 kB / 0.8241 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.442e-06/2.12, allocations: 0 / 0.8241 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.5338/2.653, allocations: 231.9 MB / 1.051 GB, free: 123.4 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 20.869653050787747]