Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001365, allocations: 110 kB / 18.35 MB, free: 4.84 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.001235/0.001235, allocations: 183.1 kB / 19.29 MB, free: 3.918 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.407/1.407, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001234/0.001234, allocations: 47.92 kB / 329.1 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09184, allocations: 46.61 MB / 375.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.1971/0.289, allocations: 8.966 MB / 384.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006069/0.2951, allocations: 3.213 MB / 387.9 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.2964, allocations: 39.56 kB / 388 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.2983, allocations: 0.6606 MB / 388.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.3006, allocations: 0.7004 MB / 389.3 MB, free: 6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.3014, allocations: 323.6 kB / 389.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002662/0.3041, allocations: 2.106 MB / 391.8 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.3058, allocations: 1.403 MB / 393.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.3075, allocations: 0.9057 MB / 394.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.3092, allocations: 1.128 MB / 395.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003808/0.3096, allocations: 234.5 kB / 395.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007488/0.3103, allocations: 319.2 kB / 395.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.311, allocations: 0.6794 MB / 396.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.3122, allocations: 1.074 MB / 397.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.3156, allocations: 3.114 MB / 400.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3157, allocations: 5.781 kB / 400.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3157, allocations: 0 / 400.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.382e-05/0.3157, allocations: 1.781 kB / 400.6 MB, free: 0.9805 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004443/0.3202, allocations: 2.257 MB / 402.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3202, allocations: 8.062 kB / 402.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007045/0.3209, allocations: 235.2 kB / 403.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.3229, allocations: 1.148 MB / 404.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-05/0.323, allocations: 117.3 kB / 404.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/0.3233, allocations: 160.7 kB / 404.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.3267, allocations: 2.005 MB / 406.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/0.3268, allocations: 14.7 kB / 406.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.3269, allocations: 61.56 kB / 406.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.3271, allocations: 87.56 kB / 406.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/0.3299, allocations: 1.643 MB / 408.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.3402, allocations: 6.889 MB / 415.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/0.3411, allocations: 452.8 kB / 415.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.3415, allocations: 260.6 kB / 415.9 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.3417, allocations: 123.4 kB / 416 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3417, allocations: 37.53 kB / 416.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 5.72e-06/0.3417, allocations: 0 / 416.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.007279/0.349, allocations: 3.29 MB / 419.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002341/0.3514, allocations: 2.338 MB / 421.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.3538, allocations: 1.608 MB / 423.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/0.3539, allocations: 37.7 kB / 423.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006895/0.3546, allocations: 1.022 MB / 424.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.3548, allocations: 244.8 kB / 424.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.3552, allocations: 319.1 kB / 424.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.3553, allocations: 305.1 kB / 425.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.356, allocations: 0.5192 MB / 425.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.3574, allocations: 1.461 MB / 427.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.3597, allocations: 2.134 MB / 429.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.3597, allocations: 15.94 kB / 429.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003427/0.3632, allocations: 2.165 MB / 431.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.3632, allocations: 20 kB / 431.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.3632, allocations: 32 kB / 431.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.3638, allocations: 218.4 kB / 431.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.3649, allocations: 399.2 kB / 432.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.3665, allocations: 1.852 MB / 434 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.368, allocations: 143.3 kB / 434.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.3682, allocations: 92 kB / 434.3 MB, free: 3.277 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009489/0.3691, allocations: 0.5867 MB / 434.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.3694, allocations: 158.1 kB / 435 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.3713, allocations: 1.106 MB / 436.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3713, allocations: 8 kB / 436.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3713, allocations: 0 / 436.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3713, allocations: 3.984 kB / 436.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005181/0.3765, allocations: 3.398 MB / 439.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.3766, allocations: 4 kB / 439.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.377, allocations: 115.8 kB / 439.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/0.3776, allocations: 222.9 kB / 439.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.3776, allocations: 23.92 kB / 439.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.3814, allocations: 4.051 MB / 443.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00214/0.3835, allocations: 2.169 MB / 446.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.3862, allocations: 1.743 MB / 447.8 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007796/0.387, allocations: 311.1 kB / 448.1 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.3872, allocations: 19.94 kB / 448.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.3879, allocations: 47.94 kB / 448.2 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.3881, allocations: 63.88 kB / 448.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.3881, allocations: 23.98 kB / 448.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001803/0.39, allocations: 1.07 MB / 449.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.39, allocations: 0 / 449.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002098/0.3921, allocations: 384 kB / 449.7 MB, free: 3.055 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004854/0.3926, allocations: 171 kB / 449.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.3954, allocations: 1.61 MB / 451.5 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.3954, allocations: 8 kB / 451.5 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.3967, allocations: 0.8437 MB / 452.4 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.3987, allocations: 414 kB / 452.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/0.4043, allocations: 3.221 MB / 456 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.4055, allocations: 1.457 MB / 457.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.4059, allocations: 127.4 kB / 457.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4059, allocations: 0 / 457.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of Templates: time 0.06168/0.4676, allocations: 47.15 MB / 0.4929 GB, free: 11.73 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches