Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 109.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 55.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2163, allocations: 50.55 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02577/0.2421, allocations: 27 MB / 437 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.2572, allocations: 8.16 MB / 445.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004363/0.2616, allocations: 195.4 kB / 445.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02032/0.282, allocations: 9.365 MB / 454.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00946/0.2914, allocations: 3.306 MB / 458 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004975/0.2964, allocations: 1.825 MB / 459.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.3102, allocations: 12.25 MB / 472.1 MB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03231/0.3425, allocations: 24.39 MB / 496.5 MB, free: 10.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007903/0.3505, allocations: 6.472 MB / 0.4911 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009747/0.3603, allocations: 7.211 MB / 0.4982 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003894/0.3642, allocations: 1.84 MB / 0.5 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005557/0.3697, allocations: 2.222 MB / 0.5022 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004311/0.3741, allocations: 3.605 MB / 0.5057 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009858/0.384, allocations: 6.93 MB / 0.5124 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02483/0.4088, allocations: 24.75 MB / 0.5366 GB, free: 5.492 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4088, allocations: 0 / 0.5366 GB, free: 5.492 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4089, allocations: 3.938 kB / 0.5366 GB, free: 5.488 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004297/0.4093, allocations: 0 / 0.5366 GB, free: 5.488 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.3643/0.7736, allocations: 14.51 MB / 0.5508 GB, free: 108.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.7737, allocations: 7.938 kB / 0.5508 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0434/0.8171, allocations: 8.496 MB / 0.5591 GB, free: 103.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.8307, allocations: 7.647 MB / 0.5666 GB, free: 95.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004463/0.8311, allocations: 0.8024 MB / 0.5673 GB, free: 95.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.8335, allocations: 1.058 MB / 0.5684 GB, free: 94.08 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/0.8597, allocations: 18.29 MB / 0.5862 GB, free: 75.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/0.8599, allocations: 11.81 kB / 0.5863 GB, free: 75.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/0.861, allocations: 458 kB / 0.5867 GB, free: 75.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004258/0.8615, allocations: 0.6711 MB / 0.5874 GB, free: 74.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/0.8843, allocations: 17.54 MB / 0.6045 GB, free: 57.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06522/0.9496, allocations: 59.18 MB / 0.6623 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03001/0.9796, allocations: 37.47 MB / 0.6989 GB, free: 3.031 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006348/0.986, allocations: 4.101 MB / 0.7029 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/0.9866, allocations: 286.1 kB / 0.7032 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.348e-05/0.9867, allocations: 90.56 kB / 0.7032 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.175e-06/0.9867, allocations: 0 / 0.7032 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04619/1.033, allocations: 21.45 MB / 0.7242 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/1.033, allocations: 103.5 kB / 0.7243 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006232/1.039, allocations: 4.183 MB / 0.7284 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002871/1.04, allocations: 105.7 kB / 0.7285 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002814/1.042, allocations: 4.521 MB / 0.7329 GB, free: 15.77 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.044, allocations: 1.768 MB / 0.7346 GB, free: 13.97 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002036/1.046, allocations: 1.351 MB / 0.7359 GB, free: 12.61 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/1.046, allocations: 305.1 kB / 0.7362 GB, free: 12.31 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005136/1.051, allocations: 3.441 MB / 0.7396 GB, free: 8.867 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006632/1.058, allocations: 5.881 MB / 0.7453 GB, free: 1.891 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2012/1.259, allocations: 10.02 MB / 0.7551 GB, free: 179.2 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-05/1.259, allocations: 23.56 kB / 0.7551 GB, free: 179.2 MB / 0.5451 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01455/1.274, allocations: 10.94 MB / 0.7658 GB, free: 175.1 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/1.274, allocations: 42.88 kB / 0.7658 GB, free: 175.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.925e-05/1.274, allocations: 78.12 kB / 0.7659 GB, free: 175.1 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/1.277, allocations: 1.441 MB / 0.7673 GB, free: 174.8 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004857/1.282, allocations: 1.616 MB / 0.7689 GB, free: 174.6 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.296, allocations: 11.48 MB / 0.7801 GB, free: 168.7 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/1.3, allocations: 409.5 kB / 0.7805 GB, free: 168.5 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005235/1.3, allocations: 334.8 kB / 0.7808 GB, free: 168.5 MB / 0.5451 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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 prepare postOptimizeDAE: time 0.004814/1.305, allocations: 4.166 MB / 0.7849 GB, free: 166.2 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007929/1.306, allocations: 475.6 kB / 0.7854 GB, free: 165.9 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/1.317, allocations: 8.481 MB / 0.7936 GB, free: 158.8 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.382e-05/1.317, allocations: 33.72 kB / 0.7937 GB, free: 158.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.317, allocations: 0 / 0.7937 GB, free: 158.8 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/1.32, allocations: 1.178 MB / 0.7948 GB, free: 157.9 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005651/1.32, allocations: 88 kB / 0.7949 GB, free: 157.9 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.323, allocations: 277.7 kB / 0.7952 GB, free: 157.7 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005389/1.323, allocations: 376.2 kB / 0.7955 GB, free: 157.4 MB / 0.5451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0112/1.334, allocations: 8.055 MB / 0.8034 GB, free: 150.3 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01101/1.345, allocations: 10.41 MB / 0.8136 GB, free: 139.7 MB / 0.5451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003139/1.349, allocations: 3.22 MB / 0.8167 GB, free: 136.5 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003128/1.352, allocations: 2.823 MB / 0.8195 GB, free: 133.6 MB / 0.5451 GB Notification: Performance of Backend: time 2.1e-07/1.352, allocations: 0 / 0.8195 GB, free: 133.6 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.009318/1.361, allocations: 6.303 MB / 0.8256 GB, free: 127.4 MB / 0.5451 GB Notification: Performance of SimCode: time 0.02283/1.384, allocations: 17.84 MB / 0.843 GB, free: 109.5 MB / 0.5451 GB Notification: Performance of Templates: time 0.1168/1.501, allocations: 91.16 MB / 0.9321 GB, free: 18.96 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches