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.001399/0.001399, allocations: 83.55 kB / 21.99 MB, free: 4.75 MB / 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.001418/0.001418, allocations: 153.8 kB / 25.24 MB, free: 2.742 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.358/1.358, allocations: 158.6 MB / 187 MB, free: 6.344 MB / 174.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.001812/0.001812, allocations: 52.2 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.196, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01255/0.2085, allocations: 9.581 MB / 358.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006588/0.2151, allocations: 3.49 MB / 361.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.2163, allocations: 75.44 kB / 361.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.2183, allocations: 0.8073 MB / 362.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.2208, allocations: 0.9165 MB / 363.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.2218, allocations: 475.4 kB / 363.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003393/0.2252, allocations: 2.947 MB / 366.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/0.2273, allocations: 1.473 MB / 368.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.2293, allocations: 1.402 MB / 369.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.2321, allocations: 1.689 MB / 371.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005607/0.2327, allocations: 372 kB / 371.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009139/0.2336, allocations: 475.8 kB / 372.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.2348, allocations: 1.087 MB / 373.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.2366, allocations: 1.353 MB / 374.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00521/0.2418, allocations: 4.93 MB / 379.6 MB, free: 320 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2418, allocations: 0 / 379.6 MB, free: 320 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2418, allocations: 0 / 379.6 MB, free: 320 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.22e-05/0.2419, allocations: 0 / 379.6 MB, free: 320 kB / 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.006395/0.2483, allocations: 3.39 MB / 383 MB, free: 12.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2483, allocations: 12.02 kB / 383 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007843/0.2491, allocations: 350.8 kB / 383.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.2522, allocations: 1.631 MB / 384.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.2524, allocations: 197.3 kB / 385.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/0.2527, allocations: 251.9 kB / 385.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005361/0.2581, allocations: 3.355 MB / 388.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.686e-05/0.2582, allocations: 7.984 kB / 388.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.2584, allocations: 100 kB / 388.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.2585, allocations: 124.9 kB / 389 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/0.2632, allocations: 2.736 MB / 391.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.2781, allocations: 9.067 MB / 400.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.2799, allocations: 1.063 MB / 401.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.2811, allocations: 0.6964 MB / 402.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.2813, allocations: 56.95 kB / 402.6 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.2813, allocations: 39.56 kB / 402.6 MB, free: 8.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 2.885e-06/0.2813, allocations: 3.938 kB / 402.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01893/0.3003, allocations: 6.761 MB / 409.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.3003, allocations: 64.41 kB / 409.4 MB, free: 1.801 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/0.3047, allocations: 1.64 MB / 411.1 MB, free: 156 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002295/0.305, allocations: 45.7 kB / 411.1 MB, free: 104 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.3064, allocations: 1.329 MB / 412.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006167/0.3071, allocations: 448.2 kB / 412.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000766/0.3078, allocations: 303.4 kB / 413.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.308, allocations: 305.1 kB / 413.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.3099, allocations: 0.773 MB / 414.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.3116, allocations: 1.297 MB / 415.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/0.3148, allocations: 2.211 MB / 417.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.3148, allocations: 8 kB / 417.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004444/0.3193, allocations: 2.468 MB / 420.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.3193, allocations: 12 kB / 420.3 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.3193, allocations: 16 kB / 420.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006761/0.32, allocations: 239.2 kB / 420.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.3216, allocations: 419.3 kB / 420.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/0.3245, allocations: 2.982 MB / 423.9 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.326, allocations: 135.8 kB / 424 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.3261, allocations: 71.94 kB / 424.1 MB, free: 2.398 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.001442/0.3276, allocations: 0.8211 MB / 424.9 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/0.328, allocations: 182.9 kB / 425.1 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.3317, allocations: 2.022 MB / 427.1 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.3317, allocations: 12 kB / 427.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3317, allocations: 3.984 kB / 427.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3317, allocations: 4.125 kB / 427.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008065/0.3398, allocations: 4.11 MB / 431.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3398, allocations: 0 / 431.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.3409, allocations: 259.6 kB / 431.5 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005958/0.3415, allocations: 211.5 kB / 431.7 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/0.3416, allocations: 24 kB / 431.7 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.3445, allocations: 2.958 MB / 434.7 MB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.3445, allocations: 4 kB / 434.7 MB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005049/0.3496, allocations: 3.12 MB / 437.8 MB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.3506, allocations: 334.7 kB / 438.1 MB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/0.3509, allocations: 24 kB / 438.2 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.352, allocations: 99.98 kB / 438.3 MB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.3522, allocations: 96.66 kB / 438.4 MB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.3523, allocations: 32 kB / 438.4 MB, free: 3.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002058/0.3543, allocations: 1.095 MB / 439.5 MB, free: 2.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3543, allocations: 0 / 439.5 MB, free: 2.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001738/0.3561, allocations: 487.9 kB / 440 MB, free: 2.145 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.0004161/0.3565, allocations: 182.9 kB / 440.1 MB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003913/0.3604, allocations: 2.114 MB / 442.2 MB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3604, allocations: 0 / 442.2 MB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.3623, allocations: 1.114 MB / 443.4 MB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.3646, allocations: 453 kB / 443.8 MB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008964/0.3736, allocations: 4.928 MB / 448.7 MB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/0.3758, allocations: 1.446 MB / 450.2 MB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00174/0.3775, allocations: 490.7 kB / 450.7 MB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.3781, allocations: 132.5 kB / 450.8 MB, free: 7.125 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3781, allocations: 4 kB / 450.8 MB, free: 7.121 MB / 414.1 MB Notification: Performance of Templates: time 0.218/0.5962, allocations: 24.89 MB / 475.7 MB, free: 110.1 MB / 430.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 -s ida -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/jenkins1/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/jenkins1/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.497333449893631]