Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 111.1 kB / 296.7 MB, free: 6.445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009524/0.0009525, allocations: 52.05 kB / 356.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2164, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01693/0.2334, allocations: 24.34 MB / 431.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.2473, allocations: 7.4 MB / 438.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004979/0.2523, allocations: 179.4 kB / 439 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01834/0.2707, allocations: 8.32 MB / 447.3 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009604/0.2803, allocations: 2.679 MB / 450 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004827/0.2852, allocations: 1.616 MB / 451.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01294/0.2981, allocations: 10.88 MB / 462.5 MB, free: 4.203 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03038/0.3285, allocations: 18.14 MB / 480.6 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007419/0.336, allocations: 4.939 MB / 485.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008906/0.3449, allocations: 5.956 MB / 491.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003475/0.3484, allocations: 1.078 MB / 492.6 MB, free: 5.918 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.3535, allocations: 1.472 MB / 494.1 MB, free: 4.445 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00384/0.3574, allocations: 2.551 MB / 496.6 MB, free: 1.887 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00957/0.367, allocations: 5.473 MB / 0.4903 GB, free: 12.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2076/0.5747, allocations: 21.86 MB / 0.5117 GB, free: 38.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.5747, allocations: 1.125 kB / 0.5117 GB, free: 38.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5747, allocations: 0 / 0.5117 GB, free: 38.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005098/0.5752, allocations: 1.969 kB / 0.5117 GB, free: 38.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03865/0.6139, allocations: 12.82 MB / 0.5242 GB, free: 33.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.614, allocations: 9.156 kB / 0.5242 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03226/0.6462, allocations: 6.165 MB / 0.5302 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.6602, allocations: 6.718 MB / 0.5368 GB, free: 28.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005502/0.6607, allocations: 0.7002 MB / 0.5375 GB, free: 28.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003915/0.6647, allocations: 0.9328 MB / 0.5384 GB, free: 28.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03525/0.6999, allocations: 15.76 MB / 0.5538 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004244/0.7004, allocations: 11.91 kB / 0.5538 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003797/0.7042, allocations: 389.7 kB / 0.5542 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004833/0.7047, allocations: 0.5532 MB / 0.5547 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02885/0.7336, allocations: 14.77 MB / 0.5691 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08907/0.8227, allocations: 52.64 MB / 0.6205 GB, free: 9.297 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.024/0.8467, allocations: 26.49 MB / 0.6464 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005158/0.8519, allocations: 3.248 MB / 0.6496 GB, free: 8.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004885/0.8524, allocations: 256 kB / 0.6498 GB, free: 8.227 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/0.8525, allocations: 81.06 kB / 0.6499 GB, free: 8.141 MB / 474.7 MB Notification: Performance of pre-optimization done (n=404): time 6.903e-06/0.8525, allocations: 0 / 0.6499 GB, free: 8.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=410): time 0.03643/0.889, allocations: 17.24 MB / 0.6667 GB, free: 6.879 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.889, allocations: 98.59 kB / 0.6668 GB, free: 6.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004996/0.894, allocations: 3.684 MB / 0.6704 GB, free: 3.086 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.8944, allocations: 85.7 kB / 0.6705 GB, free: 2.996 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002333/0.8968, allocations: 3.982 MB / 0.6744 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.8979, allocations: 1.395 MB / 0.6757 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/0.8995, allocations: 1.144 MB / 0.6769 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.8996, allocations: 307.8 kB / 0.6772 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003897/0.9035, allocations: 2.83 MB / 0.6799 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005657/0.9092, allocations: 4.988 MB / 0.6848 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2204/1.13, allocations: 8.379 MB / 0.693 GB, free: 184.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.344e-05/1.13, allocations: 22.25 kB / 0.693 GB, free: 184.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01493/1.145, allocations: 9.142 MB / 0.7019 GB, free: 181 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/1.145, allocations: 33.75 kB / 0.702 GB, free: 181 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/1.145, allocations: 75.11 kB / 0.702 GB, free: 181 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003089/1.148, allocations: 1.195 MB / 0.7032 GB, free: 180.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004551/1.153, allocations: 1.323 MB / 0.7045 GB, free: 180.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/1.164, allocations: 9.118 MB / 0.7134 GB, free: 175.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005435/1.17, allocations: 333.8 kB / 0.7137 GB, free: 175.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.171, allocations: 282 kB / 0.714 GB, free: 175.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006191/1.178, allocations: 3.711 MB / 0.7176 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.179, allocations: 403.2 kB / 0.718 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.189, allocations: 6.746 MB / 0.7246 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008222/1.197, allocations: 5.644 MB / 0.7301 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/1.197, allocations: 10.08 kB / 0.7301 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.435e-05/1.197, allocations: 27.19 kB / 0.7301 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.225, allocations: 16.17 MB / 0.7459 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.225, allocations: 4 kB / 0.7459 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.228, allocations: 0.7294 MB / 0.7466 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002812/1.23, allocations: 1.075 MB / 0.7477 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004027/1.231, allocations: 91.92 kB / 0.7478 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/1.241, allocations: 8.059 MB / 0.7556 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.241, allocations: 5.312 kB / 0.7556 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02253/1.264, allocations: 16.75 MB / 0.772 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/1.266, allocations: 0.9605 MB / 0.7729 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005737/1.267, allocations: 76 kB / 0.773 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.269, allocations: 199.9 kB / 0.7732 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006365/1.269, allocations: 287.3 kB / 0.7735 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/1.27, allocations: 131.9 kB / 0.7736 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003183/1.273, allocations: 2.487 MB / 0.776 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.273, allocations: 4 kB / 0.776 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006622/1.279, allocations: 1.83 MB / 0.7778 GB, free: 116.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006865/1.28, allocations: 284.8 kB / 0.7781 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.29, allocations: 7.18 MB / 0.7851 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.291, allocations: 0 / 0.7851 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005524/1.296, allocations: 3.405 MB / 0.7884 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/1.302, allocations: 0.9263 MB / 0.7893 GB, free: 105 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03228/1.334, allocations: 23.07 MB / 0.8119 GB, free: 81.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009286/1.343, allocations: 6.308 MB / 0.818 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006103/1.349, allocations: 1.912 MB / 0.8199 GB, free: 73.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/1.351, allocations: 339.4 kB / 0.8202 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of SimCode: time 2.254e-06/1.351, allocations: 0 / 0.8202 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.2867/1.638, allocations: 68.98 MB / 0.8876 GB, free: 171.7 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches