Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 175.9 kB / 16.72 MB, free: 5.051 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.301/1.301, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006881/0.0006881, allocations: 88.25 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003144, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2728, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02124/0.2941, allocations: 14.64 MB / 389.7 MB, free: 33.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.3072, allocations: 5.071 MB / 394.8 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0038/0.311, allocations: 91.56 kB / 394.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.3155, allocations: 0.9401 MB / 395.8 MB, free: 27.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.3227, allocations: 1.313 MB / 397.1 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.3264, allocations: 0.7321 MB / 397.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.3366, allocations: 5.007 MB / 402.9 MB, free: 20.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008067/0.3447, allocations: 3.165 MB / 406 MB, free: 17.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.3482, allocations: 1.584 MB / 407.6 MB, free: 16.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/0.3527, allocations: 2.038 MB / 409.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.3542, allocations: 252 kB / 409.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.3569, allocations: 475.7 kB / 410.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.3587, allocations: 0.9692 MB / 411.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004476/0.3632, allocations: 2.09 MB / 413.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008964/0.3722, allocations: 6.58 MB / 420 MB, free: 3.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.3722, allocations: 0 / 420 MB, free: 3.594 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.68e-06/0.3723, allocations: 3.984 kB / 420 MB, free: 3.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002331/0.3725, allocations: 0 / 420 MB, free: 3.59 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01483/0.3874, allocations: 4.544 MB / 424.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3874, allocations: 11.97 kB / 424.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/0.393, allocations: 1.003 MB / 425.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.3988, allocations: 2.695 MB / 428.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.3991, allocations: 320.1 kB / 428.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009152/0.4, allocations: 396 kB / 429 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.4101, allocations: 5.193 MB / 434.2 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.47e-05/0.4102, allocations: 7.906 kB / 434.2 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.4106, allocations: 168 kB / 434.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.4108, allocations: 172 kB / 434.5 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008601/0.4194, allocations: 4.451 MB / 439 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02754/0.4469, allocations: 16.94 MB / 455.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006998/0.454, allocations: 8.425 MB / 464.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/0.457, allocations: 1.731 MB / 466.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008933/0.466, allocations: 4.997 MB / 471.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.466, allocations: 59.75 kB / 471.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=156): time 4.067e-06/0.4661, allocations: 0 / 471.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=159): time 0.01172/0.4778, allocations: 6.197 MB / 477.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.4779, allocations: 72.72 kB / 477.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003476/0.4813, allocations: 2.294 MB / 479.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.4815, allocations: 49.7 kB / 479.7 MB, free: 5.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.4828, allocations: 1.848 MB / 481.6 MB, free: 3.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004532/0.4833, allocations: 0.5429 MB / 482.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4834, allocations: 48 kB / 482.2 MB, free: 3.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4836, allocations: 386.2 kB / 482.5 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.4851, allocations: 0.8475 MB / 483.4 MB, free: 2.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.4869, allocations: 1.575 MB / 485 MB, free: 104 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/0.4904, allocations: 2.583 MB / 487.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.4905, allocations: 11.94 kB / 487.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004784/0.4953, allocations: 2.903 MB / 490.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.4953, allocations: 16 kB / 490.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.4954, allocations: 27.98 kB / 490.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.4957, allocations: 118.2 kB / 490.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.4977, allocations: 0.5538 MB / 491.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.4994, allocations: 1.826 MB / 493 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.5011, allocations: 115.8 kB / 493.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.5012, allocations: 96.09 kB / 493.2 MB, free: 7.359 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002132/0.5034, allocations: 1.192 MB / 494.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/0.5039, allocations: 245 kB / 494.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/0.5082, allocations: 2.464 MB / 497.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.5082, allocations: 16 kB / 497.1 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5082, allocations: 8 kB / 497.1 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.5082, allocations: 11.91 kB / 497.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009271/0.5175, allocations: 5.837 MB / 0.4912 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.5176, allocations: 4 kB / 0.4912 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.5188, allocations: 299.8 kB / 0.4915 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008467/0.5197, allocations: 321.3 kB / 0.4918 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.5198, allocations: 40.11 kB / 0.4918 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005944/0.5258, allocations: 6.381 MB / 0.498 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5258, allocations: 4.156 kB / 0.498 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005637/0.5314, allocations: 3.6 MB / 0.5016 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.5327, allocations: 0.4941 MB / 0.502 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.533, allocations: 32 kB / 0.5021 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.534, allocations: 95.92 kB / 0.5022 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.5343, allocations: 121.1 kB / 0.5023 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/0.5344, allocations: 47.98 kB / 0.5023 GB, free: 1.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.1615/0.6959, allocations: 1.552 MB / 0.5038 GB, free: 119.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6959, allocations: 0 / 0.5038 GB, free: 119.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00317/0.6991, allocations: 0.6732 MB / 0.5045 GB, free: 119.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003696/0.6995, allocations: 164.5 kB / 0.5047 GB, free: 119.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003942/0.7034, allocations: 2.284 MB / 0.5069 GB, free: 119.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7035, allocations: 1.375 kB / 0.5069 GB, free: 119.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.7056, allocations: 1.454 MB / 0.5083 GB, free: 118.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/0.7088, allocations: 0.5694 MB / 0.5089 GB, free: 118.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.7202, allocations: 8.351 MB / 0.517 GB, free: 113.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.7221, allocations: 2.598 MB / 0.5196 GB, free: 112.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/0.7229, allocations: 181.8 kB / 0.5197 GB, free: 112.7 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7229, allocations: 0 / 0.5197 GB, free: 112.7 MB / 394.7 MB Notification: Performance of Templates: time 0.08064/0.8035, allocations: 94.67 MB / 0.6122 GB, free: 20.68 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches