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.001077/0.001077, allocations: 103.9 kB / 18.39 MB, free: 4.641 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.001053/0.001053, allocations: 190.5 kB / 19.33 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.218/1.218, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001078/0.001078, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07762/0.07871, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.1731/0.2519, allocations: 8.961 MB / 384.8 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005414/0.2573, allocations: 3.212 MB / 388 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.2585, allocations: 39.06 kB / 388 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.2603, allocations: 0.669 MB / 388.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.2622, allocations: 0.6931 MB / 389.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.2629, allocations: 335.8 kB / 389.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002414/0.2653, allocations: 2.096 MB / 391.8 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.2669, allocations: 1.407 MB / 393.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.2683, allocations: 0.9078 MB / 394.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.2701, allocations: 1.126 MB / 395.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003605/0.2704, allocations: 230.9 kB / 395.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007449/0.2712, allocations: 320 kB / 395.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006256/0.2718, allocations: 0.6812 MB / 396.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009918/0.2728, allocations: 1.076 MB / 397.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.2761, allocations: 3.12 MB / 400.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2761, allocations: 0 / 400.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2761, allocations: 0 / 400.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.803e-05/0.2762, allocations: 0 / 400.7 MB, free: 0.9375 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.004435/0.2806, allocations: 2.26 MB / 402.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2807, allocations: 9.625 kB / 402.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006491/0.2813, allocations: 230.9 kB / 403.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.2832, allocations: 1.156 MB / 404.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.2833, allocations: 112.8 kB / 404.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.2835, allocations: 161 kB / 404.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.2866, allocations: 2.008 MB / 406.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.2867, allocations: 10.59 kB / 406.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.2869, allocations: 70.48 kB / 406.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.287, allocations: 75.08 kB / 406.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.2895, allocations: 1.653 MB / 408.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009008/0.2985, allocations: 6.888 MB / 415.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.2993, allocations: 454.1 kB / 415.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.2996, allocations: 264 kB / 416 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.2999, allocations: 119.4 kB / 416.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2999, allocations: 37.75 kB / 416.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.405e-06/0.2999, allocations: 1.375 kB / 416.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.006743/0.3066, allocations: 3.281 MB / 419.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002303/0.309, allocations: 2.349 MB / 421.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.3111, allocations: 1.608 MB / 423.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.325e-05/0.3112, allocations: 41.69 kB / 423.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006203/0.3118, allocations: 1.022 MB / 424.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.312, allocations: 236.8 kB / 424.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/0.3124, allocations: 323.1 kB / 425 MB, free: 13.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.3125, allocations: 301.2 kB / 425.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/0.3132, allocations: 0.5231 MB / 425.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.3144, allocations: 1.461 MB / 427.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.3165, allocations: 2.134 MB / 429.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.3165, allocations: 11.94 kB / 429.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003177/0.3197, allocations: 2.161 MB / 431.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.3197, allocations: 20.94 kB / 431.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.3198, allocations: 32 kB / 431.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005215/0.3203, allocations: 230.4 kB / 431.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.3214, allocations: 399.2 kB / 432.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.3229, allocations: 1.839 MB / 434.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.3244, allocations: 139.4 kB / 434.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.3246, allocations: 99.98 kB / 434.3 MB, free: 3.195 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.0009173/0.3255, allocations: 0.5828 MB / 434.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.3258, allocations: 150.4 kB / 435.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.3276, allocations: 1.118 MB / 436.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3276, allocations: 12 kB / 436.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3276, allocations: 3.984 kB / 436.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3276, allocations: 0 / 436.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.3328, allocations: 3.398 MB / 439.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.3328, allocations: 4 kB / 439.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.3333, allocations: 107.8 kB / 439.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/0.3338, allocations: 222.4 kB / 439.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.3339, allocations: 20 kB / 439.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/0.3375, allocations: 4.046 MB / 444 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001788/0.3393, allocations: 2.177 MB / 446.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.3418, allocations: 1.739 MB / 447.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/0.3425, allocations: 311.1 kB / 448.2 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.3427, allocations: 23.94 kB / 448.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.3434, allocations: 51.88 kB / 448.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.3435, allocations: 67.81 kB / 448.3 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.3436, allocations: 27.98 kB / 448.4 MB, free: 4.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001616/0.3452, allocations: 1.066 MB / 449.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3452, allocations: 0 / 449.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001624/0.3469, allocations: 380 kB / 449.8 MB, free: 2.969 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.0003226/0.3472, allocations: 179 kB / 450 MB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.3496, allocations: 1.61 MB / 451.6 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3496, allocations: 4 kB / 451.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.3507, allocations: 0.8401 MB / 452.4 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.3526, allocations: 415.4 kB / 452.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.357, allocations: 3.218 MB / 456.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009909/0.358, allocations: 1.461 MB / 457.5 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.3584, allocations: 119.4 kB / 457.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3584, allocations: 0 / 457.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Templates: time 0.04756/0.406, allocations: 47.39 MB / 0.4932 GB, free: 11.41 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