Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002779/0.002779, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 55.92 kB / 347.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2905, allocations: 49.15 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01055/0.301, allocations: 9.58 MB / 406.4 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006582/0.3076, allocations: 3.489 MB / 409.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.3106, allocations: 76.59 kB / 410 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.3128, allocations: 0.8062 MB / 410.8 MB, free: 176 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.3159, allocations: 0.9097 MB / 411.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.317, allocations: 477.3 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003699/0.3207, allocations: 2.957 MB / 415.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.3229, allocations: 1.467 MB / 416.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.3258, allocations: 1.404 MB / 418 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003549/0.3293, allocations: 1.686 MB / 419.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007824/0.3301, allocations: 373.9 kB / 420.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.3317, allocations: 473.8 kB / 420.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.333, allocations: 1.089 MB / 421.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.3349, allocations: 1.342 MB / 423 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0063/0.3412, allocations: 4.934 MB / 427.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3412, allocations: 0 / 427.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3412, allocations: 0 / 427.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001157/0.3414, allocations: 0 / 427.9 MB, free: 4.023 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.007261/0.3486, allocations: 3.39 MB / 431.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3487, allocations: 11.97 kB / 431.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008172/0.3495, allocations: 354.8 kB / 431.6 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.3529, allocations: 1.631 MB / 433.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.3531, allocations: 193.4 kB / 433.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/0.3535, allocations: 255.9 kB / 433.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005851/0.3593, allocations: 3.362 MB / 437.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.543e-05/0.3594, allocations: 8 kB / 437.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.3596, allocations: 96 kB / 437.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/0.3598, allocations: 128.9 kB / 437.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004842/0.3646, allocations: 2.74 MB / 440 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.3815, allocations: 9.063 MB / 449.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.3834, allocations: 1.055 MB / 450.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.3846, allocations: 0.6965 MB / 450.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.3849, allocations: 56.88 kB / 450.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3849, allocations: 43.56 kB / 451 MB, free: 12.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.967e-06/0.3849, allocations: 0 / 451 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01644/0.4014, allocations: 6.761 MB / 457.7 MB, free: 5.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.4014, allocations: 64.41 kB / 457.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.4039, allocations: 1.64 MB / 459.4 MB, free: 3.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.823e-05/0.404, allocations: 45.7 kB / 459.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.4051, allocations: 1.325 MB / 460.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.4055, allocations: 452.1 kB / 461.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/0.406, allocations: 295.4 kB / 461.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4061, allocations: 317.1 kB / 461.8 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.4074, allocations: 0.773 MB / 462.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.4091, allocations: 1.297 MB / 463.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.4123, allocations: 2.215 MB / 466.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4123, allocations: 4 kB / 466.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004227/0.4165, allocations: 2.467 MB / 468.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4165, allocations: 12 kB / 468.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.4165, allocations: 16 kB / 468.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000652/0.4172, allocations: 239.7 kB / 468.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.4187, allocations: 423.3 kB / 469.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.4217, allocations: 2.974 MB / 472.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.4231, allocations: 127.8 kB / 472.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.4232, allocations: 75.98 kB / 472.4 MB, free: 6.105 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00147/0.4247, allocations: 0.829 MB / 473.3 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.425, allocations: 178.8 kB / 473.4 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.4286, allocations: 2.018 MB / 475.5 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.4286, allocations: 12 kB / 475.5 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4286, allocations: 4 kB / 475.5 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.4286, allocations: 7.969 kB / 475.5 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007495/0.4361, allocations: 4.099 MB / 479.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.4361, allocations: 4 kB / 479.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.4372, allocations: 267.9 kB / 479.8 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005434/0.4378, allocations: 207.2 kB / 480 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/0.4378, allocations: 24 kB / 480.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003077/0.4409, allocations: 2.962 MB / 483 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4409, allocations: 0 / 483 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/0.4462, allocations: 3.124 MB / 486.2 MB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.4473, allocations: 338.7 kB / 486.5 MB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/0.4477, allocations: 24 kB / 486.5 MB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.4489, allocations: 91.88 kB / 486.6 MB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.4491, allocations: 88.72 kB / 486.7 MB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/0.4491, allocations: 35.98 kB / 486.7 MB, free: 7.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002196/0.4513, allocations: 1.095 MB / 487.8 MB, free: 6.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4513, allocations: 0 / 487.8 MB, free: 6.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001784/0.4531, allocations: 491.9 kB / 488.3 MB, free: 5.852 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,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.0004709/0.4536, allocations: 179 kB / 488.5 MB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004063/0.4577, allocations: 2.114 MB / 490.6 MB, free: 3.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4577, allocations: 0 / 490.6 MB, free: 3.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.4596, allocations: 1.118 MB / 491.7 MB, free: 2.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.4619, allocations: 449.2 kB / 492.1 MB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00867/0.4706, allocations: 4.943 MB / 497.1 MB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/0.4724, allocations: 1.454 MB / 498.5 MB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001415/0.4738, allocations: 482.8 kB / 499 MB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.4743, allocations: 135.4 kB / 499.1 MB, free: 10.82 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4743, allocations: 3.938 kB / 499.1 MB, free: 10.82 MB / 414.1 MB Notification: Performance of Templates: time 0.0536/0.5279, allocations: 27.87 MB / 0.5147 GB, free: 14.89 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.578946923837066]