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.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001042, allocations: 114.5 kB / 17.73 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 187 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB 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.00118/0.00118, allocations: 47.94 kB / 328.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1181, allocations: 46.62 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2882/0.4064, allocations: 24.88 MB / 400.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02218/0.4287, allocations: 7.354 MB / 407.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008638/0.4374, allocations: 157.7 kB / 407.6 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02353/0.461, allocations: 8.795 MB / 416.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01515/0.4762, allocations: 2.979 MB / 419.3 MB, free: 288 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007416/0.4836, allocations: 1.737 MB / 421.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01981/0.5035, allocations: 10.87 MB / 431.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04129/0.5448, allocations: 21.87 MB / 453.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.557, allocations: 5.802 MB / 459.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01294/0.57, allocations: 6.347 MB / 466 MB, free: 4.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006038/0.5761, allocations: 1.68 MB / 467.6 MB, free: 3.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009564/0.5857, allocations: 2.039 MB / 469.7 MB, free: 1.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006787/0.5925, allocations: 3.223 MB / 472.9 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01597/0.6085, allocations: 6.176 MB / 479.1 MB, free: 7.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03414/0.6427, allocations: 22.37 MB / 0.4897 GB, free: 1.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.6428, allocations: 0 / 0.4897 GB, free: 1.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6428, allocations: 0 / 0.4897 GB, free: 1.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007699/0.6436, allocations: 0 / 0.4897 GB, free: 1.215 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04643/0.69, allocations: 12.91 MB / 0.5023 GB, free: 4.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6901, allocations: 12.03 kB / 0.5023 GB, free: 4.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03999/0.7301, allocations: 7.183 MB / 0.5093 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/0.7461, allocations: 6.172 MB / 0.5154 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009156/0.747, allocations: 0.7105 MB / 0.516 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005213/0.7523, allocations: 0.9373 MB / 0.517 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04834/0.8006, allocations: 16.2 MB / 0.5328 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005432/0.8012, allocations: 19.89 kB / 0.5328 GB, free: 4.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006165/0.8074, allocations: 396 kB / 0.5332 GB, free: 4.449 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000857/0.8083, allocations: 0.5786 MB / 0.5337 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03707/0.8454, allocations: 15.47 MB / 0.5488 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5294/1.375, allocations: 52.23 MB / 0.5998 GB, free: 105.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02044/1.395, allocations: 35.49 MB / 0.6345 GB, free: 70.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004467/1.4, allocations: 3.391 MB / 0.6378 GB, free: 69.08 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/1.413, allocations: 10.04 MB / 0.6476 GB, free: 60.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.413, allocations: 64.89 kB / 0.6477 GB, free: 60.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 4.268e-06/1.413, allocations: 0 / 0.6477 GB, free: 60.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.0285/1.442, allocations: 15.36 MB / 0.6627 GB, free: 45.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/1.442, allocations: 81.78 kB / 0.6628 GB, free: 45.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004354/1.446, allocations: 3.852 MB / 0.6665 GB, free: 41.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001877/1.446, allocations: 77.7 kB / 0.6666 GB, free: 41.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/1.448, allocations: 4.25 MB / 0.6707 GB, free: 37.08 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006112/1.449, allocations: 1.069 MB / 0.6718 GB, free: 36.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/1.45, allocations: 1.095 MB / 0.6729 GB, free: 34.92 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.868e-05/1.45, allocations: 301.1 kB / 0.6731 GB, free: 34.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/1.453, allocations: 2.552 MB / 0.6756 GB, free: 32.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/1.457, allocations: 4.909 MB / 0.6804 GB, free: 26.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007672/1.464, allocations: 7.953 MB / 0.6882 GB, free: 16.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.785e-05/1.464, allocations: 20 kB / 0.6882 GB, free: 16.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01178/1.476, allocations: 8.643 MB / 0.6967 GB, free: 8.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/1.476, allocations: 40 kB / 0.6967 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.237e-05/1.476, allocations: 80 kB / 0.6968 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/1.479, allocations: 1.246 MB / 0.698 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/1.483, allocations: 1.221 MB / 0.6992 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/1.495, allocations: 9.953 MB / 0.7089 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004073/1.5, allocations: 331.4 kB / 0.7092 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005839/1.5, allocations: 287.9 kB / 0.7095 GB, free: 10.95 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005996/1.506, allocations: 3.732 MB / 0.7131 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008884/1.507, allocations: 383.3 kB / 0.7135 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.517, allocations: 5.807 MB / 0.7192 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007748/1.525, allocations: 4.762 MB / 0.7238 GB, free: 12.16 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.525, allocations: 8 kB / 0.7238 GB, free: 12.15 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/1.525, allocations: 15.94 kB / 0.7239 GB, free: 12.14 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/1.552, allocations: 13.69 MB / 0.7372 GB, free: 14.37 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.552, allocations: 7.984 kB / 0.7372 GB, free: 14.36 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/1.554, allocations: 0.5617 MB / 0.7378 GB, free: 13.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/1.558, allocations: 1.117 MB / 0.7389 GB, free: 12.68 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/1.558, allocations: 75.92 kB / 0.7389 GB, free: 12.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/1.57, allocations: 8.827 MB / 0.7476 GB, free: 3.637 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/1.571, allocations: 7.938 kB / 0.7476 GB, free: 3.629 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2605/1.831, allocations: 8.495 MB / 0.7559 GB, free: 173.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002794/1.834, allocations: 0.8669 MB / 0.7567 GB, free: 173.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006772/1.835, allocations: 60.44 kB / 0.7568 GB, free: 173 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.836, allocations: 181.6 kB / 0.7569 GB, free: 173 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006606/1.837, allocations: 226.4 kB / 0.7572 GB, free: 172.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/1.837, allocations: 95.88 kB / 0.7573 GB, free: 172.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004445/1.842, allocations: 2.587 MB / 0.7598 GB, free: 172 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.7e-07/1.842, allocations: 2.562 kB / 0.7598 GB, free: 172 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006394/1.848, allocations: 1.551 MB / 0.7613 GB, free: 171.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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,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.0006204/1.849, allocations: 250.5 kB / 0.7615 GB, free: 171.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.86, allocations: 6.521 MB / 0.7679 GB, free: 169.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.86, allocations: 1.25 kB / 0.7679 GB, free: 169.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005394/1.865, allocations: 2.967 MB / 0.7708 GB, free: 167.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/1.87, allocations: 0.95 MB / 0.7717 GB, free: 167.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/1.9, allocations: 16.09 MB / 0.7874 GB, free: 160.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007756/1.908, allocations: 6.231 MB / 0.7935 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005142/1.913, allocations: 1.877 MB / 0.7954 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008594/1.914, allocations: 309.2 kB / 0.7957 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.613e-06/1.914, allocations: 0 / 0.7957 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.09055/2.004, allocations: 60.76 MB / 0.855 GB, free: 97.36 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches