Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.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_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001182/0.001182, allocations: 191 kB / 19.29 MB, free: 3.715 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.347/1.347, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001205/0.001205, allocations: 47.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07905/0.08027, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.0171/0.0974, allocations: 16.59 MB / 345.3 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009495/0.1069, allocations: 5.437 MB / 350.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/0.1098, allocations: 91.62 kB / 350.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003439/0.1133, allocations: 1.25 MB / 352.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004582/0.1179, allocations: 1.599 MB / 353.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.1201, allocations: 1.072 MB / 354.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005256/0.1254, allocations: 5.118 MB / 359.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003736/0.1291, allocations: 3.853 MB / 363.7 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.1313, allocations: 2.161 MB / 365.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/0.1339, allocations: 2.603 MB / 368.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006222/0.1345, allocations: 0.6094 MB / 369.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.1357, allocations: 0.8316 MB / 369.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.1368, allocations: 1.422 MB / 371.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.1389, allocations: 2.633 MB / 374 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1499/0.2888, allocations: 8.068 MB / 382.1 MB, free: 25.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2889, allocations: 0 / 382.1 MB, free: 25.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2889, allocations: 0 / 382.1 MB, free: 25.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002143/0.2891, allocations: 0 / 382.1 MB, free: 25.32 MB / 318.1 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.01377/0.3029, allocations: 5.37 MB / 387.4 MB, free: 23.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3029, allocations: 8.781 kB / 387.5 MB, free: 23.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/0.3089, allocations: 0.997 MB / 388.4 MB, free: 23.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005981/0.3149, allocations: 2.802 MB / 391.2 MB, free: 22.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.3152, allocations: 299.8 kB / 391.5 MB, free: 22.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007521/0.3159, allocations: 396.7 kB / 391.9 MB, free: 22.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.3264, allocations: 5.212 MB / 397.1 MB, free: 22.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.3266, allocations: 9.625 kB / 397.2 MB, free: 22.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/0.327, allocations: 161.7 kB / 397.3 MB, free: 21.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002158/0.3272, allocations: 179.2 kB / 397.5 MB, free: 21.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008183/0.3354, allocations: 4.436 MB / 401.9 MB, free: 20.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/0.359, allocations: 16.58 MB / 418.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005933/0.365, allocations: 8.413 MB / 426.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/0.3678, allocations: 1.704 MB / 428.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007988/0.3758, allocations: 4.952 MB / 433.6 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3758, allocations: 55.86 kB / 433.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=156): time 3.016e-06/0.3758, allocations: 0 / 433.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=159): time 0.01256/0.3884, allocations: 6.111 MB / 439.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.3885, allocations: 72.72 kB / 439.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.3925, allocations: 2.29 MB / 442.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002812/0.3928, allocations: 53.7 kB / 442.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.3943, allocations: 1.845 MB / 444 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005979/0.3949, allocations: 0.5476 MB / 444.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006787/0.3956, allocations: 399.6 kB / 444.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3958, allocations: 301.1 kB / 445.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.3974, allocations: 0.8436 MB / 446.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.4004, allocations: 1.559 MB / 447.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/0.4059, allocations: 2.558 MB / 450.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/0.406, allocations: 8 kB / 450.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.007311/0.4133, allocations: 2.876 MB / 453.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.4134, allocations: 16.62 kB / 453.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.379e-05/0.4134, allocations: 29.47 kB / 453.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.4139, allocations: 121.7 kB / 453.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/0.4169, allocations: 0.5422 MB / 453.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.4194, allocations: 1.991 MB / 455.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.4221, allocations: 111.8 kB / 455.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.4224, allocations: 95.98 kB / 456 MB, free: 88 kB / 350.1 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003003/0.4254, allocations: 1.191 MB / 457.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006948/0.4261, allocations: 245 kB / 457.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006412/0.4325, allocations: 2.439 MB / 459.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.4325, allocations: 16 kB / 459.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.4326, allocations: 4 kB / 459.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.4326, allocations: 7.969 kB / 459.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.446, allocations: 5.775 MB / 465.6 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.4461, allocations: 4 kB / 465.6 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.448, allocations: 290.6 kB / 465.9 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.4492, allocations: 309.5 kB / 466.2 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.4494, allocations: 39.98 kB / 466.3 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009405/0.4588, allocations: 6.961 MB / 473.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.4589, allocations: 7.469 kB / 473.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/0.465, allocations: 3.541 MB / 476.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.4664, allocations: 0.4902 MB / 477.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.4667, allocations: 43.92 kB / 477.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.4678, allocations: 76.06 kB / 477.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.4681, allocations: 120.4 kB / 477.5 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-05/0.4682, allocations: 51.98 kB / 477.6 MB, free: 9.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002339/0.4705, allocations: 1.549 MB / 479.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.4705, allocations: 0 / 479.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002236/0.4728, allocations: 0.6661 MB / 479.8 MB, free: 7.727 MB / 382.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004089/0.4732, allocations: 176.6 kB / 479.9 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003588/0.4768, allocations: 2.264 MB / 482.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4768, allocations: 0 / 482.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.4789, allocations: 1.451 MB / 483.7 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.4811, allocations: 0.6035 MB / 484.3 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.4915, allocations: 6.868 MB / 491.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.4938, allocations: 2.661 MB / 493.8 MB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001691/0.4955, allocations: 0.5552 MB / 494.3 MB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/0.496, allocations: 163.4 kB / 494.5 MB, free: 8.984 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.496, allocations: 0 / 494.5 MB, free: 8.984 MB / 398.1 MB Notification: Performance of Templates: time 0.05105/0.547, allocations: 30.08 MB / 0.5123 GB, free: 10.99 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches