Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.2 MB / 219.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009003/0.0009004, allocations: 78.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.495e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.5181, allocations: 109.6 MB / 479.6 MB, free: 192 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004213/0.5186, allocations: 85.8 kB / 479.7 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4839/1.003, allocations: 80.53 MB / 0.5471 GB, free: 90.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.003, allocations: 1.5 kB / 0.5471 GB, free: 90.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002841/1.003, allocations: 78.36 kB / 0.5472 GB, free: 90.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01176/1.015, allocations: 3.205 MB / 0.5503 GB, free: 88.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/1.015, allocations: 9.531 kB / 0.5503 GB, free: 88.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005514/1.02, allocations: 0.7374 MB / 0.551 GB, free: 88.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009619/1.03, allocations: 3.308 MB / 0.5542 GB, free: 88.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/1.03, allocations: 241.4 kB / 0.5545 GB, free: 88.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008026/1.031, allocations: 318.9 kB / 0.5548 GB, free: 88.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007498/1.039, allocations: 4.147 MB / 0.5588 GB, free: 87.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.044e-05/1.039, allocations: 11.2 kB / 0.5588 GB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/1.039, allocations: 134.9 kB / 0.559 GB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/1.039, allocations: 143.2 kB / 0.5591 GB, free: 87.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005487/1.045, allocations: 3.344 MB / 0.5624 GB, free: 87.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/1.066, allocations: 13.9 MB / 0.576 GB, free: 81.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005105/1.071, allocations: 6.594 MB / 0.5824 GB, free: 75.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/1.073, allocations: 1.366 MB / 0.5837 GB, free: 75.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006169/1.079, allocations: 3.801 MB / 0.5874 GB, free: 73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.079, allocations: 53.94 kB / 0.5875 GB, free: 72.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 2.915e-06/1.079, allocations: 0 / 0.5875 GB, free: 72.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.006786/1.086, allocations: 4.342 MB / 0.5917 GB, free: 70.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/1.086, allocations: 68.44 kB / 0.5918 GB, free: 70.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/1.088, allocations: 1.524 MB / 0.5933 GB, free: 69.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.867e-05/1.088, allocations: 52.77 kB / 0.5933 GB, free: 69.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007919/1.089, allocations: 1.407 MB / 0.5947 GB, free: 68.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/1.089, allocations: 0.4988 MB / 0.5952 GB, free: 68.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/1.089, allocations: 35.09 kB / 0.5952 GB, free: 68.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/1.089, allocations: 380.5 kB / 0.5956 GB, free: 68.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009088/1.09, allocations: 0.669 MB / 0.5962 GB, free: 67.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.092, allocations: 1.131 MB / 0.5973 GB, free: 66.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/1.093, allocations: 0.8906 MB / 0.5982 GB, free: 66.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.093, allocations: 7.625 kB / 0.5982 GB, free: 66.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003521/1.096, allocations: 2.512 MB / 0.6007 GB, free: 65.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.096, allocations: 11.59 kB / 0.6007 GB, free: 65.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/1.096, allocations: 14.44 kB / 0.6007 GB, free: 65.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009094/1.097, allocations: 376.6 kB / 0.6011 GB, free: 65.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.099, allocations: 388.8 kB / 0.6014 GB, free: 65.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006348/1.105, allocations: 7.848 MB / 0.6091 GB, free: 58.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.107, allocations: 88.17 kB / 0.6092 GB, free: 58.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/1.107, allocations: 66.5 kB / 0.6092 GB, free: 58.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003383/1.107, allocations: 210.9 kB / 0.6094 GB, free: 58.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.108, allocations: 191.2 kB / 0.6096 GB, free: 58.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/1.111, allocations: 2.355 MB / 0.6119 GB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.111, allocations: 15.19 kB / 0.6119 GB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.111, allocations: 11.19 kB / 0.612 GB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/1.111, allocations: 6.891 kB / 0.612 GB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007913/1.119, allocations: 5.178 MB / 0.617 GB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.119, allocations: 3.938 kB / 0.617 GB, free: 54.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/1.12, allocations: 200.6 kB / 0.6172 GB, free: 54.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/1.121, allocations: 0.5429 MB / 0.6177 GB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/1.122, allocations: 39.7 kB / 0.6178 GB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008923/1.13, allocations: 12.23 MB / 0.6297 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.131, allocations: 0 / 0.6297 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/1.135, allocations: 3.396 MB / 0.633 GB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009501/1.136, allocations: 437.9 kB / 0.6335 GB, free: 37.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/1.136, allocations: 35.94 kB / 0.6335 GB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/1.137, allocations: 69.97 kB / 0.6336 GB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/1.137, allocations: 126.9 kB / 0.6337 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/1.137, allocations: 39.89 kB / 0.6337 GB, free: 37.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00154/1.139, allocations: 1.161 MB / 0.6348 GB, free: 36.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.139, allocations: 0 / 0.6348 GB, free: 36.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002201/1.141, allocations: 0.6242 MB / 0.6355 GB, free: 36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 13,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005314/1.142, allocations: 406.1 kB / 0.6358 GB, free: 35.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002846/1.145, allocations: 2.359 MB / 0.6381 GB, free: 33.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.145, allocations: 4.062 kB / 0.6382 GB, free: 33.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001994/1.147, allocations: 1.765 MB / 0.6399 GB, free: 31.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/1.149, allocations: 0.4989 MB / 0.6404 GB, free: 31.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008342/1.158, allocations: 4.81 MB / 0.6451 GB, free: 26.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.159, allocations: 2.374 MB / 0.6474 GB, free: 25.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00155/1.161, allocations: 390.9 kB / 0.6478 GB, free: 24.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/1.161, allocations: 122.8 kB / 0.6479 GB, free: 24.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.954e-06/1.161, allocations: 4 kB / 0.6479 GB, free: 24.68 MB / 410.7 MB Notification: Performance of Templates: time 0.05082/1.212, allocations: 31.48 MB / 0.6786 GB, free: 12.84 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches