Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001572/0.001572, allocations: 183 kB / 18.66 MB, free: 4.414 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.929/1.929, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001211/0.001212, allocations: 47.94 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1447, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.3858/0.5306, allocations: 11.74 MB / 386.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.5441, allocations: 3.988 MB / 390.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005844/0.5502, allocations: 55.72 kB / 390.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004624/0.5549, allocations: 0.8719 MB / 391.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007586/0.5625, allocations: 0.979 MB / 392.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.5657, allocations: 0.5231 MB / 393.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009841/0.5756, allocations: 3.452 MB / 396.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007579/0.5832, allocations: 2.676 MB / 399.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00532/0.5886, allocations: 1.537 MB / 401 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007241/0.5959, allocations: 1.929 MB / 402.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003036/0.599, allocations: 408.9 kB / 403.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004795/0.6038, allocations: 0.6509 MB / 404 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002992/0.6068, allocations: 1.142 MB / 405.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009191/0.616, allocations: 1.844 MB / 406.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.6301, allocations: 5.365 MB / 412.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.6302, allocations: 4 kB / 412.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.721e-06/0.6302, allocations: 0 / 412.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003313/0.6305, allocations: 3.938 kB / 412.3 MB, free: 8.449 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01558/0.6461, allocations: 3.714 MB / 416 MB, free: 5.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.6462, allocations: 8.25 kB / 416 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.6482, allocations: 435 kB / 416.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004414/0.6526, allocations: 1.855 MB / 418.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.6528, allocations: 205.3 kB / 418.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004357/0.6533, allocations: 273 kB / 418.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007346/0.6606, allocations: 3.513 MB / 422.3 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.995e-05/0.6607, allocations: 4 kB / 422.3 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.661, allocations: 108 kB / 422.4 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.6611, allocations: 121.2 kB / 422.5 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005775/0.6669, allocations: 2.972 MB / 425.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02023/0.6872, allocations: 10.97 MB / 436.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.6902, allocations: 2.284 MB / 438.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.6923, allocations: 1.183 MB / 439.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003673/0.6927, allocations: 215.4 kB / 440.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.6927, allocations: 47.86 kB / 440.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 4.248e-06/0.6928, allocations: 4 kB / 440.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01905/0.7118, allocations: 7.486 MB / 447.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.712, allocations: 72.66 kB / 447.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004048/0.716, allocations: 1.975 MB / 449.7 MB, free: 4.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.7162, allocations: 57.7 kB / 449.8 MB, free: 3.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.7175, allocations: 1.312 MB / 451.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006136/0.7182, allocations: 0.4967 MB / 451.6 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006203/0.7188, allocations: 331.2 kB / 451.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.719, allocations: 305.1 kB / 452.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.7206, allocations: 0.8784 MB / 453.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.7225, allocations: 1.376 MB / 454.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/0.7261, allocations: 2.378 MB / 456.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.7261, allocations: 4 kB / 456.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005592/0.7317, allocations: 2.974 MB / 459.8 MB, free: 9.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.516e-05/0.7318, allocations: 20 kB / 459.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/0.7318, allocations: 12 kB / 459.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.733, allocations: 466 kB / 460.3 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.7346, allocations: 435.3 kB / 460.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007119/0.7418, allocations: 6.104 MB / 466.8 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/0.7449, allocations: 119.8 kB / 467 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004489/0.7454, allocations: 79.98 kB / 467 MB, free: 1.941 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003299/0.7487, allocations: 0.8486 MB / 467.9 MB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/0.7499, allocations: 209.4 kB / 468.1 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006026/0.7559, allocations: 2.584 MB / 470.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.786e-05/0.756, allocations: 16 kB / 470.7 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/0.756, allocations: 4 kB / 470.7 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.756, allocations: 7.969 kB / 470.7 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.7706, allocations: 5.631 MB / 476.3 MB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.7707, allocations: 4 kB / 476.3 MB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.772, allocations: 283.6 kB / 476.6 MB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/0.7738, allocations: 498.3 kB / 477.1 MB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/0.7741, allocations: 39.98 kB / 477.1 MB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.7849, allocations: 7.676 MB / 484.8 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.785, allocations: 4 kB / 484.8 MB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008705/0.7937, allocations: 3.843 MB / 488.7 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002353/0.7961, allocations: 478.4 kB / 489.1 MB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/0.7973, allocations: 39.98 kB / 489.2 MB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/0.7996, allocations: 99.89 kB / 489.3 MB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000504/0.8002, allocations: 125 kB / 489.4 MB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.8003, allocations: 47.94 kB / 489.4 MB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004346/0.8047, allocations: 1.356 MB / 490.8 MB, free: 9.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8047, allocations: 0 / 490.8 MB, free: 9.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004607/0.8093, allocations: 0.5859 MB / 491.4 MB, free: 8.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.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 (126): * Single equations (assignments): 121 * Array equations: 2 * 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 {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.8104, allocations: 226.3 kB / 491.6 MB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006583/0.8171, allocations: 2.609 MB / 494.2 MB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/0.8171, allocations: 4 kB / 494.2 MB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003638/0.8208, allocations: 1.607 MB / 495.8 MB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005934/0.8267, allocations: 0.4885 MB / 496.3 MB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/0.8459, allocations: 5.607 MB / 0.4901 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004679/0.8506, allocations: 2.136 MB / 0.4922 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003009/0.8537, allocations: 473 kB / 0.4927 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.8549, allocations: 135.4 kB / 0.4928 GB, free: 11.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.954e-06/0.8549, allocations: 0 / 0.4928 GB, free: 11.36 MB / 430.1 MB Notification: Performance of Templates: time 0.083/0.9379, allocations: 31.49 MB / 0.5236 GB, free: 11.8 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches