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.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.001883/0.001883, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.002232/0.002232, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.381/1.381, allocations: 207.7 MB / 236.1 MB, free: 9.77 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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,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=400,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") [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.001965/0.001965, allocations: 51.92 kB / 348.4 MB, free: 9.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2659, allocations: 49.15 MB / 397.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008283/0.2742, allocations: 7.942 MB / 405.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005118/0.2793, allocations: 3.017 MB / 408.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007749/0.2801, allocations: 51.12 kB / 408.6 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.2816, allocations: 0.6535 MB / 409.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.2834, allocations: 0.7468 MB / 410 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007635/0.2841, allocations: 332.3 kB / 410.3 MB, free: 1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.2864, allocations: 2.106 MB / 412.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.2876, allocations: 0.7804 MB / 413.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.289, allocations: 0.9313 MB / 414.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.2908, allocations: 1.087 MB / 415.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.2911, allocations: 230.5 kB / 415.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008214/0.292, allocations: 323.6 kB / 415.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007805/0.2927, allocations: 0.6808 MB / 416.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.294, allocations: 0.8724 MB / 417.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.2977, allocations: 3.145 MB / 420.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2977, allocations: 0 / 420.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2977, allocations: 1.344 kB / 420.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.338e-05/0.2977, allocations: 0 / 420.5 MB, free: 10.73 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.005348/0.3031, allocations: 2.241 MB / 422.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3031, allocations: 12.86 kB / 422.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007602/0.3039, allocations: 243.2 kB / 423 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.3063, allocations: 1.103 MB / 424.1 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.3064, allocations: 117.6 kB / 424.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.3067, allocations: 155 kB / 424.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.3103, allocations: 2.078 MB / 426.4 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.3104, allocations: 3.953 kB / 426.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.3105, allocations: 67.98 kB / 426.5 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.3106, allocations: 82.84 kB / 426.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.3135, allocations: 1.639 MB / 428.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.3235, allocations: 6.042 MB / 434.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.3244, allocations: 428.8 kB / 434.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.3247, allocations: 250.6 kB / 434.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.3249, allocations: 40.34 kB / 435 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.325, allocations: 39 kB / 435 MB, free: 13.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.544e-06/0.325, allocations: 4 kB / 435 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007486/0.3325, allocations: 3.153 MB / 438.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002638/0.3351, allocations: 2.2 MB / 440.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.3374, allocations: 1.519 MB / 441.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.3375, allocations: 37.7 kB / 441.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008908/0.3384, allocations: 1.056 MB / 443 MB, free: 5.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.3387, allocations: 254 kB / 443.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004845/0.3392, allocations: 327.3 kB / 443.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3393, allocations: 301.1 kB / 443.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008631/0.3402, allocations: 0.5153 MB / 444.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.342, allocations: 1.461 MB / 445.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/0.3446, allocations: 2.138 MB / 447.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.3446, allocations: 15.94 kB / 448 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003633/0.3482, allocations: 2.154 MB / 450.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.3483, allocations: 16 kB / 450.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.3483, allocations: 39.94 kB / 450.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/0.3489, allocations: 226.4 kB / 450.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.3501, allocations: 395.2 kB / 450.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.3519, allocations: 1.71 MB / 452.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.3533, allocations: 147.7 kB / 452.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.3534, allocations: 95.98 kB / 452.7 MB, free: 10.2 MB / 366.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.0009855/0.3544, allocations: 0.5944 MB / 453.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.3547, allocations: 147 kB / 453.5 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.3567, allocations: 1.095 MB / 454.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3567, allocations: 4 kB / 454.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3567, allocations: 4 kB / 454.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3567, allocations: 3.984 kB / 454.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005817/0.3626, allocations: 3.017 MB / 457.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.3626, allocations: 4 kB / 457.6 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.363, allocations: 111.8 kB / 457.7 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006329/0.3636, allocations: 226.3 kB / 457.9 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.3637, allocations: 19.94 kB / 457.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004381/0.3681, allocations: 3.782 MB / 461.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002215/0.3703, allocations: 2.032 MB / 463.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.3732, allocations: 1.754 MB / 465.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008349/0.374, allocations: 219 kB / 465.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.3741, allocations: 16 kB / 465.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/0.3748, allocations: 55.94 kB / 465.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.375, allocations: 67.72 kB / 465.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.375, allocations: 27.98 kB / 465.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.3766, allocations: 0.9576 MB / 466.8 MB, free: 11.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3766, allocations: 0 / 466.8 MB, free: 11.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001723/0.3783, allocations: 383.9 kB / 467.2 MB, free: 11.1 MB / 382.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.0003401/0.3786, allocations: 170.9 kB / 467.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.3813, allocations: 1.416 MB / 468.8 MB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.3813, allocations: 4 kB / 468.8 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.3826, allocations: 0.7256 MB / 469.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.3844, allocations: 361.2 kB / 469.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/0.39, allocations: 3.262 MB / 473.1 MB, free: 5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.3911, allocations: 0.8732 MB / 474 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.3915, allocations: 111.4 kB / 474.1 MB, free: 3.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3915, allocations: 4 kB / 474.1 MB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.06129/0.4528, allocations: 47.16 MB / 0.5091 GB, free: 4.723 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.22470670286566]