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/ModelicaServices trunk/package.mo", uses=false) 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) 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_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/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 9.039 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 60.59 kB / 306.9 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09434, allocations: 50.53 MB / 357.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2003/0.2947, allocations: 24.36 MB / 381.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.31, allocations: 7.399 MB / 389.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006303/0.3164, allocations: 180.5 kB / 389.4 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01901/0.3355, allocations: 8.314 MB / 397.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.3478, allocations: 2.693 MB / 400.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00727/0.3551, allocations: 1.611 MB / 402 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01571/0.3708, allocations: 10.74 MB / 412.8 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03236/0.4032, allocations: 18.14 MB / 430.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00933/0.4126, allocations: 4.919 MB / 435.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009579/0.4222, allocations: 5.948 MB / 441.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003418/0.4257, allocations: 1.086 MB / 442.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005525/0.4312, allocations: 1.464 MB / 444.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003752/0.435, allocations: 2.555 MB / 446.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009422/0.4444, allocations: 5.481 MB / 452.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0181/0.4625, allocations: 19.56 MB / 471.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4626, allocations: 0 / 471.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4626, allocations: 0 / 471.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005705/0.4632, allocations: 0 / 471.9 MB, free: 9.961 MB / 382.1 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.0395/0.5027, allocations: 12.82 MB / 484.7 MB, free: 13.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5027, allocations: 8.031 kB / 484.7 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03475/0.5375, allocations: 6.162 MB / 490.9 MB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.5514, allocations: 6.726 MB / 497.6 MB, free: 72 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000795/0.5522, allocations: 0.7025 MB / 498.3 MB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/0.5563, allocations: 0.9217 MB / 499.3 MB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0393/0.5956, allocations: 15.76 MB / 0.5029 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000485/0.5961, allocations: 15.88 kB / 0.503 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003438/0.5996, allocations: 392 kB / 0.5033 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000649/0.6003, allocations: 0.547 MB / 0.5039 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03135/0.6316, allocations: 14.77 MB / 0.5183 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4596/1.091, allocations: 52.65 MB / 0.5697 GB, free: 101.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/1.111, allocations: 26.47 MB / 0.5956 GB, free: 76.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005349/1.116, allocations: 3.251 MB / 0.5987 GB, free: 74.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/1.117, allocations: 252.8 kB / 0.599 GB, free: 74.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.721e-05/1.117, allocations: 80.58 kB / 0.5991 GB, free: 74.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 9.087e-06/1.117, allocations: 0 / 0.5991 GB, free: 74.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.03943/1.156, allocations: 17.25 MB / 0.6159 GB, free: 62.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/1.156, allocations: 102.5 kB / 0.616 GB, free: 62.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006226/1.162, allocations: 3.681 MB / 0.6196 GB, free: 59.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006885/1.163, allocations: 93.7 kB / 0.6197 GB, free: 59.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.165, allocations: 3.977 MB / 0.6236 GB, free: 55.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.166, allocations: 1.393 MB / 0.6249 GB, free: 53.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/1.168, allocations: 1.144 MB / 0.626 GB, free: 52.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.728e-05/1.168, allocations: 305.1 kB / 0.6263 GB, free: 52.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/1.172, allocations: 2.834 MB / 0.6291 GB, free: 49.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/1.176, allocations: 4.992 MB / 0.634 GB, free: 43.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008561/1.185, allocations: 8.374 MB / 0.6422 GB, free: 34.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.537e-05/1.185, allocations: 20 kB / 0.6422 GB, free: 34.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01765/1.202, allocations: 9.143 MB / 0.6511 GB, free: 24.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.203, allocations: 39.98 kB / 0.6511 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/1.203, allocations: 68 kB / 0.6512 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/1.206, allocations: 1.199 MB / 0.6524 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005308/1.211, allocations: 1.318 MB / 0.6537 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/1.225, allocations: 9.118 MB / 0.6626 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005321/1.23, allocations: 335.4 kB / 0.6629 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/1.232, allocations: 284 kB / 0.6632 GB, free: 12.38 MB / 446.1 MB 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.008534/1.241, allocations: 3.712 MB / 0.6668 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001605/1.242, allocations: 403 kB / 0.6672 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.256, allocations: 6.741 MB / 0.6738 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.011/1.267, allocations: 5.644 MB / 0.6793 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.486e-05/1.267, allocations: 15.94 kB / 0.6793 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.699e-05/1.267, allocations: 27.84 kB / 0.6793 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03559/1.303, allocations: 16.16 MB / 0.6951 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.303, allocations: 4 kB / 0.6951 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003325/1.306, allocations: 0.7255 MB / 0.6958 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003412/1.31, allocations: 1.078 MB / 0.6969 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007742/1.311, allocations: 91.97 kB / 0.6969 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/1.325, allocations: 8.069 MB / 0.7048 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/1.325, allocations: 7.938 kB / 0.7048 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2314/1.556, allocations: 9.931 MB / 0.7145 GB, free: 149 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.559, allocations: 0.9581 MB / 0.7155 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007058/1.559, allocations: 77.41 kB / 0.7155 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.561, allocations: 205.8 kB / 0.7157 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007221/1.562, allocations: 287.7 kB / 0.716 GB, free: 148.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002716/1.562, allocations: 123.4 kB / 0.7161 GB, free: 148.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004097/1.566, allocations: 2.489 MB / 0.7186 GB, free: 147.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.566, allocations: 1.406 kB / 0.7186 GB, free: 147.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006107/1.573, allocations: 1.625 MB / 0.7201 GB, free: 147.4 MB / 478.1 MB 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.0007089/1.573, allocations: 282 kB / 0.7204 GB, free: 147.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01096/1.584, allocations: 7.184 MB / 0.7274 GB, free: 144.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.584, allocations: 3.062 kB / 0.7274 GB, free: 144.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00528/1.59, allocations: 3.407 MB / 0.7308 GB, free: 143.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004608/1.594, allocations: 0.9224 MB / 0.7317 GB, free: 142.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02843/1.623, allocations: 20.29 MB / 0.7515 GB, free: 129.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00485/1.627, allocations: 6.011 MB / 0.7573 GB, free: 125.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/1.629, allocations: 382.2 kB / 0.7577 GB, free: 124.8 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/1.629, allocations: 0 / 0.7577 GB, free: 124.8 MB / 478.1 MB Notification: Performance of Templates: time 0.4058/2.035, allocations: 158 MB / 0.912 GB, free: 151.4 MB / 494.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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